chat_stream
AsyncMethod
This is a method of the LlmProvider class in the llm module.Stream a chat completion (returns chunks)
Signature
Parameters
No description available.
No description available.
Returns
The result of the operation.
chat_stream: Stream a chat completion (returns chunks)
This is a method of the LlmProvider class in the llm module.Stream a chat completion (returns chunks)
async def chat_stream(
&self,
messages: &[Message],
tools: Option<&[ToolDefinition]>,
) -> Result<Box<dyn futures::Stream<Item = Result<String>> + Send + Unpin>>