You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9b7dcf5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6138,11 +6138,16 @@ components:
6138
6138
type: 'object'
6139
6139
BatchProviderPreferences:
6140
6140
additionalProperties: false
6141
-
description: 'Batch provider routing preferences. Only `provider.only` is supported.'
6141
+
description: 'Batch provider routing preferences. Only `provider.only` and `provider.allow_fallbacks` are supported.'
6142
6142
example:
6143
6143
only:
6144
6144
- 'google-vertex'
6145
6145
properties:
6146
+
allow_fallbacks:
6147
+
description: "Whether to allow backup providers to serve requests\n- true: (default) when the primary provider (or your custom providers in \"order\") is unavailable, use the next best provider.\n- false: use only the primary/custom provider, and return the upstream error if it's unavailable.\n"
6148
+
type:
6149
+
- 'boolean'
6150
+
- 'null'
6146
6151
only:
6147
6152
description: 'List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request.'
|`only`| List[[components.BatchProviderPreferencesOnly](../components/batchproviderpreferencesonly.mdx)]|:heavy_minus_sign:| List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request. |[<br/>"openai",<br/>"anthropic"<br/>]|
10
+
| Field | Type | Required | Description | Example |
| `allow_fallbacks` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to allow backup providers to serve requests<br/>- true: (default) when the primary provider (or your custom providers in "order") is unavailable, use the next best provider.<br/>- false: use only the primary/custom provider, and return the upstream error if it's unavailable.<br/> | |
13
+
| `only` | List[[components.BatchProviderPreferencesOnly](../components/batchproviderpreferencesonly.mdx)] | :heavy_minus_sign: | List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request. | [<br/>"openai",<br/>"anthropic"<br/>] |
0 commit comments