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

Example Usage

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

let value: OpenResponsesStreamEventResponseReasoningSummaryPartDone = {
  type: "response.reasoning_summary_part.done",
  outputIndex: 0,
  itemId: "item-1",
  summaryIndex: 0,
  part: {
    type: "summary_text",
    text: "Analyzing the problem step by step to find the optimal solution.",
  },
  sequenceNumber: 7,
};

Fields

FieldTypeRequiredDescriptionExample
type”response.reasoning_summary_part.done”:heavy_check_mark:N/A
outputIndexnumber:heavy_check_mark:N/A
itemIdstring:heavy_check_mark:N/A
summaryIndexnumber:heavy_check_mark:N/A
partmodels.ReasoningSummaryText:heavy_check_mark:N/A{"type": "summary_text","text": "Analyzed the problem using first principles"}
sequenceNumbernumber:heavy_check_mark:N/A