Revert "feat: add explicit license selection and status visibility (#6751)" (#7057)

This commit is contained in:
Tommaso Sciortino
2025-08-25 16:16:30 -07:00
committed by GitHub
parent d820c2335b
commit 925d747b9d
13 changed files with 40 additions and 382 deletions

View File

@@ -16,18 +16,6 @@ export const validateAuthMethod = (authMethod: string): string | null => {
return null;
}
if (authMethod === AuthType.LOGIN_WITH_GOOGLE_GCA) {
if (!process.env['GOOGLE_CLOUD_PROJECT']) {
return (
'[Error] GOOGLE_CLOUD_PROJECT is not set.\n' +
'Please set it using:\n' +
' export GOOGLE_CLOUD_PROJECT=<your-project-id>\n' +
'and try again.'
);
}
return null;
}
if (authMethod === AuthType.USE_GEMINI) {
if (!process.env['GEMINI_API_KEY']) {
return 'GEMINI_API_KEY environment variable not found. Add that to your environment and try again (no reload needed if using .env)!';