Skip to content
1 min read · 183 words

Interface: OpenAIResponsesReasoningTextDoneEvent ​

Defined in: src/batteries/llm/openai_responses/types.ts:432

SSE event emitted when a reasoning item's full-reasoning-text part is finalized.

Extends ​

  • OpenAIResponsesStreamEventBase

Properties ​

PropertyTypeDescriptionOverridesInherited fromDefined in
content_indexnumberThe index of the content part within the item's content array.--src/batteries/llm/openai_responses/types.ts:440
item_idstringThe id of the reasoning item this text belongs to.--src/batteries/llm/openai_responses/types.ts:436
output_indexnumberThe index of the reasoning item within response.output.--src/batteries/llm/openai_responses/types.ts:438
sequence_number?numberMonotonically increasing sequence number for this event within the stream.-OpenAIResponsesStreamEventBase.sequence_numbersrc/batteries/llm/openai_responses/types.ts:310
textstringThe complete, finalized reasoning text.--src/batteries/llm/openai_responses/types.ts:442
type"response.reasoning_text.done"Event-type discriminator; always 'response.reasoning_text.done'.OpenAIResponsesStreamEventBase.type-src/batteries/llm/openai_responses/types.ts:434