diff --git a/src/commands/model-picker.ts b/src/commands/model-picker.ts index 5cceb1e94..50864f6fe 100644 --- a/src/commands/model-picker.ts +++ b/src/commands/model-picker.ts @@ -20,7 +20,7 @@ const PROVIDER_FILTER_THRESHOLD = 30; // Models that are internal routing features and should not be shown in selection lists. // These may be valid as defaults (e.g., set automatically during auth flow) but are not // directly callable via API and would cause "Unknown model" errors if selected manually. -const HIDDEN_ROUTER_MODELS = new Set(["openrouter/auto"]); +const HIDDEN_ROUTER_MODELS = new Set(["openrouter/auto", "openrouter/openrouter/auto"]); type PromptDefaultModelParams = { config: ClawdbotConfig; diff --git a/src/commands/onboard-auth.credentials.ts b/src/commands/onboard-auth.credentials.ts index 0c7dff409..44113c462 100644 --- a/src/commands/onboard-auth.credentials.ts +++ b/src/commands/onboard-auth.credentials.ts @@ -113,7 +113,7 @@ export async function setVeniceApiKey(key: string, agentDir?: string) { } export const ZAI_DEFAULT_MODEL_REF = "zai/glm-4.7"; -export const OPENROUTER_DEFAULT_MODEL_REF = "openrouter/auto"; +export const OPENROUTER_DEFAULT_MODEL_REF = "openrouter/openrouter/auto"; export const VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF = "vercel-ai-gateway/anthropic/claude-opus-4.5"; export async function setZaiApiKey(key: string, agentDir?: string) {