Skip to main content

query_stream

Function query_stream 

Source
pub async fn query_stream(
    prompt: impl Into<String>,
    config: CodexConfig,
    options: ThreadOptions,
) -> Result<StreamedTurn>
Expand description

Streaming query: start a thread, run the prompt, return event stream.