AnthropicStreamDelta
data class AnthropicStreamDelta(val type: String? = null, val text: String? = null, val partialJson: String? = null, val stopReason: String? = null, val toolUse: AnthropicResponseContent.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.
Constructors
Link copied to clipboard
constructor(type: String? = null, text: String? = null, partialJson: String? = null, stopReason: String? = null, toolUse: AnthropicResponseContent.ToolUse? = null)