Skip to main content

collect_stream_results

Function collect_stream_results 

Source
pub async fn collect_stream_results(
    stream: ChatStream,
) -> Vec<Result<StreamEvent, LlmError>>
Expand description

Collect stream events, returning results including errors.