diff --git a/src/utils/auth.ts b/src/utils/auth.ts index 27098c09..d889e8d1 100644 --- a/src/utils/auth.ts +++ b/src/utils/auth.ts @@ -116,7 +116,8 @@ export function isAnthropicAuthEnabled(): boolean { isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) || - isEnvTruthy(process.env.CLAUDE_CODE_USE_OPENAI) + isEnvTruthy(process.env.CLAUDE_CODE_USE_OPENAI) || + isEnvTruthy(process.env.CLAUDE_CODE_USE_GEMINI) // Check if user has configured an external API key source // This allows externally-provided API keys to work (without requiring proxy configuration)