Skip to content

Commit becdee6

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent 659074e commit becdee6

1 file changed

Lines changed: 28 additions & 18 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7401,19 +7401,14 @@ components:
74017401
role: 'developer'
74027402
properties:
74037403
configuration_update:
7404-
additionalProperties: false
7404+
anyOf:
7405+
- $ref: '#/components/schemas/ConfigurationUpdate'
7406+
- type: 'null'
7407+
- type: 'null'
74057408
description: 'OpenRouter extension. Same as the system message `configuration_update`: changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding turns.'
74067409
example:
74077410
reasoning:
74087411
effort: 'low'
7409-
properties:
7410-
reasoning:
7411-
$ref: '#/components/schemas/ConfigurationUpdateReasoning'
7412-
required:
7413-
- 'reasoning'
7414-
type:
7415-
- 'object'
7416-
- 'null'
74177412
content:
74187413
anyOf:
74197414
- type: 'string'
@@ -8414,19 +8409,14 @@ components:
84148409
role: 'system'
84158410
properties:
84168411
configuration_update:
8417-
additionalProperties: false
8412+
anyOf:
8413+
- $ref: '#/components/schemas/ConfigurationUpdate'
8414+
- type: 'null'
8415+
- type: 'null'
84188416
description: 'OpenRouter extension. Changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding turns. Place it on a content-less system message (`content: ""`) directly before the user message it should apply to, and keep it at that position in later requests. Equivalent to the OpenAI Responses `configuration_update` input item and the Anthropic Messages per-message `output_config.effort`.'
84198417
example:
84208418
reasoning:
84218419
effort: 'low'
8422-
properties:
8423-
reasoning:
8424-
$ref: '#/components/schemas/ConfigurationUpdateReasoning'
8425-
required:
8426-
- 'reasoning'
8427-
type:
8428-
- 'object'
8429-
- 'null'
84308420
content:
84318421
anyOf:
84328422
- type: 'string'
@@ -9127,6 +9117,18 @@ components:
91279117
- 'display_width'
91289118
- 'environment'
91299119
type: 'object'
9120+
ConfigurationUpdate:
9121+
additionalProperties: false
9122+
description: 'Mid-conversation configuration update. Changes reasoning effort from this point onward without invalidating the prompt cache for the preceding turns.'
9123+
example:
9124+
reasoning:
9125+
effort: 'low'
9126+
properties:
9127+
reasoning:
9128+
$ref: '#/components/schemas/ConfigurationUpdateReasoning'
9129+
required:
9130+
- 'reasoning'
9131+
type: 'object'
91309132
ConfigurationUpdateItem:
91319133
description: 'Changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding items. Place it before the user message it should apply to; it stays in effect until another configuration update. Two adjacent configuration updates are rejected. Only supported by models that accept mid-conversation effort changes.'
91329134
example:
@@ -33504,6 +33506,7 @@ components:
3350433506
- 'searching'
3350533507
- 'in_progress'
3350633508
- 'failed'
33509+
- 'incomplete'
3350733510
example: 'completed'
3350833511
type: 'string'
3350933512
WebSearchUserLocation:
@@ -42361,7 +42364,9 @@ paths:
4236142364
limit:
4236242365
description: 'Optional spending limit for the API key in USD'
4236342366
example: 50
42367+
exclusiveMaximum: 1000000
4236442368
format: 'double'
42369+
minimum: 0
4236542370
type:
4236642371
- 'number'
4236742372
- 'null'
@@ -42379,6 +42384,7 @@ paths:
4237942384
name:
4238042385
description: 'Name for the new API key'
4238142386
example: 'My New API Key'
42387+
maxLength: 256
4238242388
minLength: 1
4238342389
type: 'string'
4238442390
workspace_id:
@@ -43084,7 +43090,9 @@ paths:
4308443090
limit:
4308543091
description: 'New spending limit for the API key in USD'
4308643092
example: 75
43093+
exclusiveMaximum: 1000000
4308743094
format: 'double'
43095+
minimum: 0
4308843096
type:
4308943097
- 'number'
4309043098
- 'null'
@@ -43102,6 +43110,8 @@ paths:
4310243110
name:
4310343111
description: 'New name for the API key'
4310443112
example: 'Updated API Key Name'
43113+
maxLength: 256
43114+
minLength: 1
4310543115
type: 'string'
4310643116
workspace_id:
4310743117
description: 'Move the API key to this workspace. The key keeps its value; guardrail selections move with it, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key''s current workspace is a no-op.'

0 commit comments

Comments
 (0)