Skip to main content

aggregate_stream

Function aggregate_stream 

Source
pub async fn aggregate_stream(
    stream: Pin<Box<dyn Stream<Item = Result<LlmResponse>> + Send>>,
) -> Result<LlmResponse>
Expand description

Aggregate streaming responses into a single response