ResponseSnapshotEvent

Properties

Link copied to clipboard

Whether this is the last event of the stream.

Link copied to clipboard
abstract val response: ModelResponse

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
abstract val sequenceNumber: Int

Position of the event in the stream; increases monotonically.

Link copied to clipboard
abstract val type: String

Raw event type, as sent in the type field.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String