fix(auth): update default models to latest versions

This commit is contained in:
Haze
2026-02-06 03:37:27 +08:00
Unverified
parent a92ced3c4a
commit 71409042cb

View File

@@ -167,10 +167,10 @@ export function buildProviderEnvVars(providers: Array<{ type: string; apiKey: st
* Used to set the gateway's default model when the user selects a provider * Used to set the gateway's default model when the user selects a provider
*/ */
const PROVIDER_DEFAULT_MODELS: Record<string, string> = { const PROVIDER_DEFAULT_MODELS: Record<string, string> = {
anthropic: 'anthropic/claude-sonnet-4-20250514', anthropic: 'anthropic/claude-opus-4-6',
openai: 'openai/gpt-4o', openai: 'openai/gpt-5.2',
google: 'google/gemini-2.5-pro-preview-06-05', google: 'google/gemini-3-pro-preview',
openrouter: 'openrouter/anthropic/claude-sonnet-4', openrouter: 'openrouter/anthropic/claude-opus-4.6',
}; };
/** /**