Skip to content

Commit 363fa44

Browse files
chore(provider/gateway): update gateway model settings files (#12711)
<!-- Welcome to contributing to AI SDK! We're excited to see your changes. We suggest you read the following contributing guide we've created before submitting: https://github.com/vercel/ai/blob/main/CONTRIBUTING.md --> ## Background <!-- Why was this change necessary? --> enabling video models ## Summary <!-- What did you change? --> added video models to settings file ## Manual Verification <!-- For features & bugfixes. Please explain how you *manually* verified that the change works end-to-end as expected (excluding automated tests). Remove the section if it's not needed (e.g. for docs). --> n/a ## Checklist <!-- Do not edit this list. Leave items unchecked that don't apply. If you need to track subtasks, create a new "## Tasks" section Please check if the PR fulfills the following requirements: --> - [ ] Tests have been added / updated (for bug fixes / features) - [ ] Documentation has been added / updated (for bug fixes / features) - [x] A _patch_ changeset for relevant packages has been added (for bug fixes / features - run `pnpm changeset` in the project root) - [x] I have reviewed this pull request (self-review) ## Future Work <!-- Feel free to mention things not covered by this PR that can be done in future PRs. Remove the section if it's not needed. --> ## Related Issues <!-- List related issues here, e.g. "Fixes #1234". Remove the section if it's not needed. -->
1 parent 0d34236 commit 363fa44

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

.changeset/happy-boxes-lick.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+
chore(provider/gateway): update gateway model settings files

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ export type GatewayModelId =
5454
| 'google/gemini-2.5-flash-preview-09-2025'
5555
| 'google/gemini-2.5-pro'
5656
| 'google/gemini-3-flash'
57-
| 'google/gemini-3.1-pro-preview'
5857
| 'google/gemini-3-pro-image'
5958
| 'google/gemini-3-pro-preview'
59+
| 'google/gemini-3.1-pro-preview'
6060
| 'inception/mercury-coder-small'
6161
| 'kwaipilot/kat-coder-pro-v1'
6262
| 'meituan/longcat-flash-chat'
Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
export type GatewayVideoModelId = 'google/veo-3.1-generate-001' | (string & {});
1+
export type GatewayVideoModelId =
2+
| 'alibaba/wan-v2.5-t2v-preview'
3+
| 'alibaba/wan-v2.6-i2v'
4+
| 'alibaba/wan-v2.6-i2v-flash'
5+
| 'alibaba/wan-v2.6-r2v'
6+
| 'alibaba/wan-v2.6-r2v-flash'
7+
| 'alibaba/wan-v2.6-t2v'
8+
| 'google/veo-3.0-fast-generate-001'
9+
| 'google/veo-3.0-generate-001'
10+
| 'google/veo-3.1-fast-generate-001'
11+
| 'google/veo-3.1-generate-001'
12+
| 'klingai/kling-v2.5-turbo-i2v'
13+
| 'klingai/kling-v2.5-turbo-t2v'
14+
| 'klingai/kling-v2.6-i2v'
15+
| 'klingai/kling-v2.6-t2v'
16+
| 'klingai/kling-v3.0-i2v'
17+
| 'klingai/kling-v3.0-t2v'
18+
| 'xai/grok-imagine-video'
19+
| (string & {});

0 commit comments

Comments
 (0)