fix(auth): use OpenClaw-recognized model names (openrouter/auto, etc.)
This commit is contained in:
@@ -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
|
||||
*/
|
||||
const PROVIDER_DEFAULT_MODELS: Record<string, string> = {
|
||||
anthropic: 'anthropic/claude-opus-4-6',
|
||||
openai: 'openai/gpt-5.2',
|
||||
google: 'google/gemini-3-pro-preview',
|
||||
openrouter: 'openrouter/anthropic/claude-opus-4.6',
|
||||
anthropic: 'anthropic/claude-opus-4-5',
|
||||
openai: 'openai/gpt-5',
|
||||
google: 'google/gemini-2.5-pro-preview',
|
||||
openrouter: 'openrouter/auto',
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user