Rate limiting detected loop
What happened?
After using the cli interface for a short time(15-20min) the output becomes a loop: `ℹ ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session.
⠏ Confirming Implementation Steps (esc to cancel, 690s)`
What did you expect to happen?
Cli would transition and complete current tasks or gracefully fail
Client information
│ About Gemini CLI │ │ │ │ CLI Version 0.1.3 │ │ Git Commit 382486e (local modifications) │ │ Model gemini-2.5-flash │ │ Sandbox no sandbox │ │ OS darwin │ │
Login information
personal google account
Anything else we need to know?
No response
In the first 10 hours after launch, we got a ridiculous amount of interest (far more than we dreamed) which resulted in us exceeding our internal capacity. We're doing a number of things to make it better including:
- adding more gemini TPU capacity
- intelligently routing requests to different models based on complexity
- providing better fallbacks when there's a slow response
- fixing that weird looping behavior
Sorry, but thanks for riding it out with us. 🙏
No worries, I'm really enjoying your ui/ux so far and look forward to exploring with it more as you scale. Initial impressions are pretty positive for the agent if you have discrete targeted instructions. Nice work 🙌
I am currently sitting on a 10min loop, it says "Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session." but it fails to route to a different model, even after I exit and create a new instance it fails to give a prompt back. I tried to sign in with a new account but even that gives the same loop after a few prompts :(
For those logging in with a personal google account, we released a version that do the model switch.
For GEMINI_API_KEY we are looking to address 429 errors
@vivekgh0sh can you verify you are running version at least 0.1.5 and are not seeing the CLI auto switch to Flash model (and that you are authenticating as a gmail account)
I upgraded to the latest version 0.1.5 and the issue of looping is solved (logged in with google account). Thanks!
@ptone, so should I downgrade to avoid the model switch?
I updated to 0.1.7 and it doesn't model switch @claell
We're working as quickly as we can on quota and 429s. thanks for your patience as we deal with a firehose of users during this launch. I'm de-duping this with #1502 to consolidate conversation there.