From 21ba392e0a190346ef41ccf0c1bae8ef2b10ce25 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Wed, 11 Nov 2026 18:18:07 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 57c485aae..f23db2ddd 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -8335,6 +8335,8 @@ components: effort: 'medium' summary: 'concise' properties: + context: + $ref: '#/components/schemas/ReasoningContext' effort: description: 'Constrains effort on reasoning for reasoning models' enum: @@ -8350,12 +8352,22 @@ components: type: - 'string' - 'null' + enabled: + description: 'Enables reasoning with default settings. Defaults to being inferred from `effort` or `max_tokens`.' + example: true + type: 'boolean' + exclude: + description: 'When true, the model still reasons but the reasoning is omitted from the response. Defaults to false.' + example: false + type: 'boolean' max_tokens: description: 'Maximum number of tokens the model may spend on reasoning, for models that take a reasoning token budget instead of an effort level. Cannot be combined with `reasoning.effort` or the top-level `reasoning_effort`: a request that sets both is rejected with "Only one of "reasoning.effort" and "reasoning.max_tokens" can be specified".' example: 2000 type: - 'integer' - 'null' + mode: + $ref: '#/components/schemas/ReasoningMode' summary: $ref: '#/components/schemas/ChatReasoningSummaryVerbosityEnum' type: 'object'