aggregate_stream

Function aggregate_stream 

Source
pub async fn aggregate_stream(
    stream: Pin<Box<dyn Stream<Item = Result<LlmResponse, AdkError>> + Send>>,
) -> Result<LlmResponse, AdkError>
Available on crate features models and gemini only.
Expand description

Aggregate streaming responses into a single response