ReasoningTextDoneEvent

class ReasoningTextDoneEvent(val sequenceNumber: Int, val itemId: String, val outputIndex: Int, val contentIndex: Int, val text: String) : TextDoneEvent

The chain-of-thought of one content part, complete.

Constructors

Link copied to clipboard
constructor(sequenceNumber: Int, itemId: String, outputIndex: Int, contentIndex: Int, text: String)

Properties

Link copied to clipboard
open override val contentIndex: Int

Position of the part within the item's content.

Link copied to clipboard
open override val itemId: String

Identifier of the output item the text belongs to.

Link copied to clipboard
open override val outputIndex: Int

Position of that item in the output list.

Link copied to clipboard
open override val sequenceNumber: Int

Position of the event in the stream; increases monotonically.

Link copied to clipboard
open override val text: String

The full text, equal to the concatenation of that part's deltas.

Link copied to clipboard
open override 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