Skip to content

Commit e6def8d

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1304)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 9a30990 commit e6def8d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8335,6 +8335,8 @@ components:
83358335
effort: 'medium'
83368336
summary: 'concise'
83378337
properties:
8338+
context:
8339+
$ref: '#/components/schemas/ReasoningContext'
83388340
effort:
83398341
description: 'Constrains effort on reasoning for reasoning models'
83408342
enum:
@@ -8350,12 +8352,22 @@ components:
83508352
type:
83518353
- 'string'
83528354
- 'null'
8355+
enabled:
8356+
description: 'Enables reasoning with default settings. Defaults to being inferred from `effort` or `max_tokens`.'
8357+
example: true
8358+
type: 'boolean'
8359+
exclude:
8360+
description: 'When true, the model still reasons but the reasoning is omitted from the response. Defaults to false.'
8361+
example: false
8362+
type: 'boolean'
83538363
max_tokens:
83548364
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".'
83558365
example: 2000
83568366
type:
83578367
- 'integer'
83588368
- 'null'
8369+
mode:
8370+
$ref: '#/components/schemas/ReasoningMode'
83598371
summary:
83608372
$ref: '#/components/schemas/ChatReasoningSummaryVerbosityEnum'
83618373
type: 'object'

0 commit comments

Comments
 (0)