Response Failed Event
class ResponseFailedEvent(val sequenceNumber: Int, val response: ModelResponse) : ResponseSnapshotEvent
Terminal event of a response that failed; see ModelResponse.error.
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.