The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
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
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
type | ”response.reasoning_summary_part.done” | :heavy_check_mark: | N/A | |
outputIndex | number | :heavy_check_mark: | N/A | |
itemId | string | :heavy_check_mark: | N/A | |
summaryIndex | number | :heavy_check_mark: | N/A | |
part | models.ReasoningSummaryText | :heavy_check_mark: | N/A | {"type": "summary_text","text": "Analyzed the problem using first principles"} |
sequenceNumber | number | :heavy_check_mark: | N/A |