Emitted when a new content part is added.

interface ResponseContentPartAddedEvent {
    content_index: number;
    item_id: string;
    output_index: number;
    part: ResponseOutputRefusal | ResponseOutputText;
    type: "response.content_part.added";
}

Properties

content_index: number

The index of the content part that was added.

item_id: string

The ID of the output item that the content part was added to.

output_index: number

The index of the output item that the content part was added to.

The content part that was added.

type: "response.content_part.added"

The type of the event. Always response.content_part.added.