content_index: int

The index of the content part that the text delta was added to.

delta: str

The text delta that was added.

item_id: str

The ID of the output item that the text delta was added to.

logprobs: List[Logprob]

The log probabilities of the tokens in the delta.

token: str

A possible text token.

logprob: float

The log probability of this token.

top_logprobs: Optional[List[LogprobTopLogprob]]

The log probabilities of up to 20 of the most likely tokens.

token: Optional[str]

A possible text token.

logprob: Optional[float]

The log probability of this token.

output_index: int

The index of the output item that the text delta was added to.

sequence_number: int

The sequence number for this event.

type: Literal["response.output_text.delta"]

The type of the event. Always response.output_text.delta.

agent: Optional[Agent]

The agent that owns this multi-agent streaming event.

agent_name: str

The canonical name of the agent that produced this item.