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
pub async fn aggregate_stream(
stream: Pin<Box<dyn Stream<Item = Result<LlmResponse>> + Send>>,
) -> Result<LlmResponse>Aggregate streaming responses into a single response