StreamResponse
Content arriving in streaming chunks.
Samples
when (content) { // Content is Content.StreamResponse!
is Content.Text -> println("Text chunk: ${content.text}")
is Content.Reasoning -> println("Reasoning chunk: ${content.value}")
is Content.ToolCallDelta -> println("Tool call delta ${content.name}, ${content.argumentsChunk}")
}Content copied to clipboard