mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-05-30 16:35:34 +08:00
Potential fix for pull request finding 'Unused variable, import, function or class'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
@@ -24,19 +24,6 @@ type GeminiAuthType =
|
|||||||
| 'cloud-shell'
|
| 'cloud-shell'
|
||||||
| null;
|
| null;
|
||||||
|
|
||||||
/**
|
|
||||||
* Env keys Gemini CLI accepts for headless authentication.
|
|
||||||
* We check these from both process.env and user-level env files.
|
|
||||||
*/
|
|
||||||
const GEMINI_AUTH_ENV_KEYS = [
|
|
||||||
'GEMINI_API_KEY',
|
|
||||||
'GOOGLE_API_KEY',
|
|
||||||
'GOOGLE_CLOUD_PROJECT',
|
|
||||||
'GOOGLE_CLOUD_PROJECT_ID',
|
|
||||||
'GOOGLE_CLOUD_LOCATION',
|
|
||||||
'GOOGLE_APPLICATION_CREDENTIALS',
|
|
||||||
] as const;
|
|
||||||
|
|
||||||
export class GeminiProviderAuth implements IProviderAuth {
|
export class GeminiProviderAuth implements IProviderAuth {
|
||||||
/**
|
/**
|
||||||
* Gemini CLI can override its home root via GEMINI_CLI_HOME.
|
* Gemini CLI can override its home root via GEMINI_CLI_HOME.
|
||||||
|
|||||||
Reference in New Issue
Block a user