Skip to content

Commit 78aaf2e

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent fa8cd74 commit 78aaf2e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2860,6 +2860,7 @@ components:
28602860
cost_quality_tradeoff: 7
28612861
enabled: true
28622862
id: 'auto-router'
2863+
pin_model: false
28632864
properties:
28642865
allowed_models:
28652866
description: 'List of model patterns to filter which models the auto-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, uses the default supported models list.'
@@ -2883,6 +2884,10 @@ components:
28832884
enum:
28842885
- 'auto-router'
28852886
type: 'string'
2887+
pin_model:
2888+
description: 'When true, reuses the model from the most recent assistant message''s `model` attribute for subsequent turns. Defaults to false.'
2889+
example: false
2890+
type: 'boolean'
28862891
required:
28872892
- 'id'
28882893
type: 'object'
@@ -4421,6 +4426,7 @@ components:
44214426
description: 'Assistant message for requests and responses'
44224427
example:
44234428
content: 'The capital of France is Paris.'
4429+
model: 'openai/gpt-4o'
44244430
role: 'assistant'
44254431
properties:
44264432
audio:
@@ -4435,6 +4441,10 @@ components:
44354441
description: 'Assistant message content'
44364442
images:
44374443
$ref: '#/components/schemas/ChatAssistantImages'
4444+
model:
4445+
description: 'Model that generated this assistant message'
4446+
example: 'openai/gpt-4o'
4447+
type: 'string'
44384448
name:
44394449
description: 'Optional name for the assistant'
44404450
type: 'string'

0 commit comments

Comments
 (0)