Merge pull request #56 from gnanam1990/fix/gemini-auth-login-screen
fix: add CLAUDE_CODE_USE_GEMINI to is3P check to prevent login screen
This commit is contained in:
@@ -116,7 +116,8 @@ export function isAnthropicAuthEnabled(): boolean {
|
|||||||
isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ||
|
isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ||
|
||||||
isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ||
|
isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ||
|
||||||
isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) ||
|
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
|
// Check if user has configured an external API key source
|
||||||
// This allows externally-provided API keys to work (without requiring proxy configuration)
|
// This allows externally-provided API keys to work (without requiring proxy configuration)
|
||||||
|
|||||||
Reference in New Issue
Block a user