Skip to main content

consume_llm_stream_with_context

Function consume_llm_stream_with_context 

Source
pub async fn consume_llm_stream_with_context(
    stream: LLMStream,
    event_tx: &Sender<AgentEvent>,
    cancel_token: &CancellationToken,
    session_id: &str,
    timeout_context: &StreamTimeoutContext,
) -> Result<StreamHandlingOutput, AgentError>