gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Rate Limiting loop with Gemini 2.5 flash

Open ajaymalik14 opened this issue 1 year ago • 3 comments

What happened?

When My Cli auto switch to flash after rate limit it keep repeating same line and don't do anything else. " ⚡ Rate limiting detected. Automatically switching from gemini-2.5-pro to gemini-2.5-flash for faster responses for the remainder of this session."

Image

What did you expect to happen?

Expect it to work flawlessly

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
About Gemini CLI                                       │
│                                                        │
│ CLI Version        0.1.1                               │
│ Git Commit         852210e1 (local modifications)      │
│ Model              gemini-2.5-pro                      │
│ Sandbox            no sandbox                          │
│ OS                 darwin   

Login information

No response

Anything else we need to know?

No response

ajaymalik14 avatar Sep 16 '25 04:09 ajaymalik14

The user is reporting an infinite loop when the CLI switches from pro to flash due to rate limiting, making the tool unusable. This is a high-priority bug in our performance/resiliency logic. Adding status/need-retesting as the user is on a very old version (0.1.1).

gemini-cli[bot] avatar Sep 16 '25 04:09 gemini-cli[bot]

Hi Ajay, thanks for filing this issue and apologies for the poor experience. Are you able to retest this on a newer version of Gemini CLI?

agmsb avatar Sep 19 '25 18:09 agmsb

Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

Thank you for your contribution!

gemini-cli[bot] avatar Dec 21 '25 00:12 gemini-cli[bot]