Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Event emitted when reasoning text streaming is complete

Example Usage

import { OpenResponsesReasoningDoneEvent } from "@openrouter/sdk/models";

let value: OpenResponsesReasoningDoneEvent = {
  type: "response.reasoning_text.done",
  outputIndex: 0,
  itemId: "item-1",
  contentIndex: 0,
  text:
    "First, we need to identify the key components and then combine them logically.",
  sequenceNumber: 6,
};

Fields

FieldTypeRequiredDescription
type”response.reasoning_text.done”:heavy_check_mark:N/A
outputIndexnumber:heavy_check_mark:N/A
itemIdstring:heavy_check_mark:N/A
contentIndexnumber:heavy_check_mark:N/A
textstring:heavy_check_mark:N/A
sequenceNumbernumber:heavy_check_mark:N/A