Re:Gemini CLI
by entropyneur on Thursday June 26, 2025 @03:34AM
(#44385095)
Same thing. Couldn't get it to work with an API key (which worked just fine in Aider before). Couldn't get it to work with a Gemini Code Assist Standard license. The management UI and documentation are a torture maze. Can't stop thinking about all the better ways I could have used two our hours of my life.
Got the exact same thing here, using Gemini with an API key.
Re:Gemini CLI
by tobyhinloopen on Thursday June 26, 2025 @03:05AM
(#44384940)
That's an interesting comment - I realized I have a gemini api key in my env.
`GEMINI_API_KEY="" gemini` + login using my Google account solves the problem.
That works for me, however, it automatically switches me to gemini-2.5-flash:
Slow response times detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
To avoid this you can utilize a Gemini API Key. See: https://goo.gle/gemini-cli-docs-auth#gemini-api-key
You can switch authentication methods by typing /auth
Re:Gemini CLI
by tobyhinloopen on Thursday June 26, 2025 @04:54AM
(#44385506)
Yeah I also just gave up. I'll revisit it in a week or so.
Re:Gemini CLI
by davenportjw on Thursday June 26, 2025 @12:11PM
(#44388760)
We're continuing to work on capacity, thanks for your patience!
Re:Gemini CLI
by tobyhinloopen on Friday June 27, 2025 @09:30AM
(#44396670)
No worries! hah
Same here, I also have a env key which I use with Aider. Mind you aider+gemini has gone excruciatingly slow these days.
This should be resolved: https://github.com/google-gemini/gemini-cli/discussions/2064
> hello
[API Error: {"error":{"message":"{\n \"error\": {\n \"code\": 429,\n \"message\": \"Resource has been exhausted (e.g. check quota).\",\n \"status\": \"RESOURCE_EXHAUSTED\"\n }\n}\n","code":429,"status":"Too Many Requests"}}] Please wait and try again later. To increase your limits, request a quota increase through AI Studio, or switch to another /auth method
⠼ Polishing the pixels... (esc to cancel, 84s)