Skip to content

Commit f94eaae

Browse files
authored
🤖 fix: use undated model IDs for mux-gateway defaults (#787)
Vercel AI gateway under mux-gateway doesn't support dated model identifiers like `claude-sonnet-4-5-20250514`. Use `claude-sonnet-4-5` and `claude-opus-4-5` instead for the default models added on first coupon entry. _Generated with `mux`_
1 parent 8e8ad54 commit f94eaae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node/services/ipcMain.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,8 +1572,8 @@ export class IpcMain {
15721572
const providerConfig = providersConfig[provider] as Record<string, unknown>;
15731573
if (!providerConfig.models || (providerConfig.models as string[]).length === 0) {
15741574
providerConfig.models = [
1575-
"anthropic/claude-sonnet-4-5-20250514",
1576-
"anthropic/claude-opus-4-5-20250514",
1575+
"anthropic/claude-sonnet-4-5",
1576+
"anthropic/claude-opus-4-5",
15771577
"openai/gpt-5.1",
15781578
"openai/gpt-5.1-codex",
15791579
];

0 commit comments

Comments
 (0)