gemini-cli
gemini-cli copied to clipboard
SSHing and Running Gemini CLI via GEMINI_API_KEY does not work
What happened?
SSH'ed to a Linux VM. The env variable contains GEMINI_API_KEY key val pair, Run Gemini CLI Select GEMINI API KEY login - it asks for API Key (This should not have happened - the cli should have read the env variable and proceeded).
Upon pasting the API key, the cli is stuck.
What did you expect to happen?
- The CLI must not ask for Gemini API Key
- More importantly, the CLI must not get stuck upon receiving the API key
Client information
Gemini CLI v0.19.1 Linux Ubuntu LTS
Login information
GEMINI_API_KEY
Anything else we need to know?
This is most probably happening due to recent change in how API key is accessed here
Found possible duplicate issues:
- #13664
- #12319
If you believe this is not a duplicate, please remove the status/possible-duplicate label.
related to #12319 but different issue