AnthropicStreamResponse
data class AnthropicStreamResponse(val type: String, val delta: AnthropicStreamDelta? = null, val message: AnthropicResponse? = null)(source)
Represents a response from the Anthropic stream API.
This data class encapsulates the structure of a streamed response, including its type, any delta updates to the content, and the complete message data when applicable.
Properties
Link copied to clipboard
An optional incremental update to the message content, represented as AnthropicStreamDelta.
Link copied to clipboard
An optional complete response message, represented as AnthropicResponse.