File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1202,6 +1202,8 @@ components:
12021202 allOf:
12031203 - $ref: '#/components/schemas/AnthropicBaseUsageIteration'
12041204 - properties:
1205+ model:
1206+ type: string
12051207 type:
12061208 enum:
12071209 - message
@@ -10760,6 +10762,20 @@ components:
1076010762 - type
1076110763 - error
1076210764 type: object
10765+ MessagesFallbackParam:
10766+ additionalProperties:
10767+ nullable: true
10768+ description: >-
10769+ Fallback model to try when the primary model fails or refuses. Only the `model` field is supported; per-attempt
10770+ overrides are rejected.
10771+ example:
10772+ model: claude-opus-4-8
10773+ properties:
10774+ model:
10775+ type: string
10776+ required:
10777+ - model
10778+ type: object
1076310779 MessagesMessageParam:
1076410780 description: Anthropic message with OpenRouter extensions
1076510781 example:
@@ -11105,6 +11121,17 @@ components:
1110511121 type: object
1110611122 type: array
1110711123 type: object
11124+ fallbacks:
11125+ description: >-
11126+ Fallback models to try if the primary model fails or refuses, in order. Handled by OpenRouter multi-model
11127+ routing rather than Anthropic server-side fallbacks; cannot be combined with `models`. Each entry accepts
11128+ only `model`. Maximum of 3 entries.
11129+ example:
11130+ - model: claude-opus-4-8
11131+ items:
11132+ $ref: '#/components/schemas/MessagesFallbackParam'
11133+ nullable: true
11134+ type: array
1110811135 max_tokens:
1110911136 type: integer
1111011137 messages:
You can’t perform that action at this time.
0 commit comments