stream

abstract fun stream(messages: List<Message>, tools: List<Tool>, toolCallInspectors: List<ToolCallInspector>): <Error class: unknown class><String>

Stream raw content chunks using the original provider-managed tool contract.

Return

Flux of raw content chunks

Parameters

messages

The conversation history

tools

Available tools for the LLM to invoke during streaming

toolCallInspectors

Inspectors for provider-managed tool execution