Response Completed Event
class ResponseCompletedEvent(val sequenceNumber: Int, val response: ModelResponse) : ResponseSnapshotEvent
Terminal event of a response that finished normally, carrying its output and usage.
Properties
Link copied to clipboard
Whether this is the last event of the stream.
Link copied to clipboard
The response as it stands: freshly created, in progress, or finished — the terminal events carry the complete output and ModelResponse.usage.
Link copied to clipboard
Position of the event in the stream; increases monotonically.