Emitted when text content is finalized.

interface ResponseTextDoneEvent {
    content_index: number;
    item_id: string;
    output_index: number;
    text: string;
    type: "response.output_text.done";
}

Properties

content_index: number

The index of the content part that the text content is finalized.

item_id: string

The ID of the output item that the text content is finalized.

output_index: number

The index of the output item that the text content is finalized.

text: string

The text content that is finalized.

type: "response.output_text.done"

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