AnthropicStreamDelta
data class AnthropicStreamDelta(val type: String? = null, val text: String? = null, val partialJson: String? = null, val stopReason: String? = null, val thinking: String? = null, val toolUse: AnthropicContent.ToolUse? = null)(source)
Represents a delta update from the Anthropic stream response.
This class encapsulates information regarding the type of update, optional textual content, and optional tool usage data. For more information: https://platform.claude.com/docs/en/build-with-claude/streaming