Skip to content

Commit 0db5cd8

Browse files
Backport: chore(provider/gateway): update gateway model settings files v6 (#13806)
This is an automated update of the gateway model settings files. Co-authored-by: vercel-ai-sdk[bot] <225926702+vercel-ai-sdk[bot]@users.noreply.github.com>
1 parent 11ccc8e commit 0db5cd8

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.changeset/butbj-jnpxd-onfte.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ai-sdk/gateway': patch
3+
---
4+
5+
Backport: chore(provider/gateway): update gateway model settings files

packages/gateway/src/gateway-embedding-model-settings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export type GatewayEmbeddingModelId =
55
| 'amazon/titan-embed-text-v2'
66
| 'cohere/embed-v4.0'
77
| 'google/gemini-embedding-001'
8+
| 'google/gemini-embedding-2'
89
| 'google/text-embedding-005'
910
| 'google/text-multilingual-embedding-002'
1011
| 'mistral/codestral-embed'

packages/gateway/src/gateway-language-model-settings.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,11 @@ export type GatewayModelId =
161161
| 'xai/grok-4.1-fast-non-reasoning'
162162
| 'xai/grok-4.1-fast-reasoning'
163163
| 'xai/grok-4.20-multi-agent'
164+
| 'xai/grok-4.20-multi-agent-beta'
164165
| 'xai/grok-4.20-non-reasoning'
166+
| 'xai/grok-4.20-non-reasoning-beta'
165167
| 'xai/grok-4.20-reasoning'
168+
| 'xai/grok-4.20-reasoning-beta'
166169
| 'xai/grok-code-fast-1'
167170
| 'xiaomi/mimo-v2-flash'
168171
| 'xiaomi/mimo-v2-pro'

0 commit comments

Comments
 (0)