Skip to content

Commit ea58e68

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

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2924,9 +2924,11 @@ components:
29242924
example:
29252925
allowed_models:
29262926
- 'anthropic/*'
2927-
- 'openai/gpt-4o'
2927+
- 'openai/*'
29282928
cost_tier: 'low'
29292929
enabled: true
2930+
excluded_models:
2931+
- 'openai/gpt-4o'
29302932
id: 'auto-beta-router'
29312933
properties:
29322934
allowed_models:
@@ -2958,6 +2960,14 @@ components:
29582960
enabled:
29592961
description: 'Set to false to disable the auto-beta-router plugin for this request. Defaults to true.'
29602962
type: 'boolean'
2963+
excluded_models:
2964+
description: 'List of model patterns to exclude from auto-beta-router selection. Supports wildcards (e.g., "meta-llama/*" excludes all Llama models). Applied after allowed_models, so an excluded pattern always wins over an allowed one.'
2965+
example:
2966+
- 'openai/gpt-4o'
2967+
- 'meta-llama/*'
2968+
items:
2969+
type: 'string'
2970+
type: 'array'
29612971
id:
29622972
enum:
29632973
- 'auto-beta-router'
@@ -2969,9 +2979,11 @@ components:
29692979
example:
29702980
allowed_models:
29712981
- 'anthropic/*'
2972-
- 'openai/gpt-4o'
2982+
- 'openai/*'
29732983
cost_tier: 'medium'
29742984
enabled: true
2985+
excluded_models:
2986+
- 'openai/gpt-4o'
29752987
id: 'auto-router'
29762988
pin_model: false
29772989
properties:
@@ -3004,6 +3016,14 @@ components:
30043016
enabled:
30053017
description: 'Set to false to disable the auto-router plugin for this request. Defaults to true.'
30063018
type: 'boolean'
3019+
excluded_models:
3020+
description: 'List of model patterns to exclude from auto-router selection. Supports wildcards (e.g., "meta-llama/*" excludes all Llama models). Applied after allowed_models, so an excluded pattern always wins over an allowed one.'
3021+
example:
3022+
- 'openai/gpt-4o'
3023+
- 'meta-llama/*'
3024+
items:
3025+
type: 'string'
3026+
type: 'array'
30073027
id:
30083028
enum:
30093029
- 'auto-router'

0 commit comments

Comments
 (0)