Skip to content

Commit e748159

Browse files
Backport: chore(provider/gateway): update gateway model settings files v6 (#13361)
1 parent ac0c407 commit e748159

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.changeset/uwavz-xhckx-fxezf.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-image-model-settings.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
export type GatewayImageModelId =
2+
| 'bfl/flux-2-flex'
3+
| 'bfl/flux-2-klein-4b'
4+
| 'bfl/flux-2-klein-9b'
5+
| 'bfl/flux-2-max'
6+
| 'bfl/flux-2-pro'
27
| 'bfl/flux-kontext-max'
38
| 'bfl/flux-kontext-pro'
49
| 'bfl/flux-pro-1.0-fill'
@@ -10,6 +15,7 @@ export type GatewayImageModelId =
1015
| 'openai/gpt-image-1'
1116
| 'openai/gpt-image-1-mini'
1217
| 'openai/gpt-image-1.5'
18+
| 'prodia/flux-fast-schnell'
1319
| 'recraft/recraft-v2'
1420
| 'recraft/recraft-v3'
1521
| 'recraft/recraft-v4'

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export type GatewayModelId =
6565
| 'kwaipilot/kat-coder-pro-v1'
6666
| 'meituan/longcat-flash-chat'
6767
| 'meituan/longcat-flash-thinking'
68+
| 'meituan/longcat-flash-thinking-2601'
6869
| 'meta/llama-3.1-70b'
6970
| 'meta/llama-3.1-8b'
7071
| 'meta/llama-3.2-11b'

0 commit comments

Comments
 (0)