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

ℹ ⚡ Slow response times detected.

Open amxv opened this issue 1 year ago • 14 comments

What happened?

ℹ ⚡ 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

Getting this error for the last hour, I really don't want to use flash!

What did you expect to happen?

to get the response

Client information

│ About Gemini CLI │ │ │ │ CLI Version 0.1.8 │ │ Model gemini-2.5-pro │ │ Sandbox no sandbox │ │ OS darwin │ │ Auth Method OAuth

Login information

No response

Anything else we need to know?

No response

amxv avatar Jun 28 '25 02:06 amxv

Had the same issue last night. Flash also ended up timing out. I rage-quit after a while.

behole avatar Jun 28 '25 03:06 behole

gemini-cli cannot use gemini-2.5-pro, and automatically switches to gemini-2.5-flash after startup. It cannot be used at all

zhengguangli avatar Jun 28 '25 03:06 zhengguangli

its back now

amxv avatar Jun 28 '25 08:06 amxv

Is there a way to at least disable this fallback so agent would stop if access to pro is restricted? Getting this constantly for last 2 hours

EdgarSedov avatar Jun 28 '25 11:06 EdgarSedov

I can live with slow response times. I cannot live with automatically switching to flash. As @EdgarSedov mentioned, we should at least be able to deactivate the automatic fallback; ideally also to say "okay, I'll wait, no problem, just keep me on Pro".

claell avatar Jun 28 '25 12:06 claell

#2247

claell avatar Jun 28 '25 12:06 claell

#1852 seems to be the same.

claell avatar Jun 28 '25 12:06 claell

better to make option to disable auto switch 2.5 flash https://github.com/google-gemini/gemini-cli/issues/2247#issuecomment-3015239157

rasyidrafi avatar Jun 28 '25 13:06 rasyidrafi

I am also facing same issue.

jusringladson avatar Jun 28 '25 16:06 jusringladson

I am also facing same issue.

Image

JCfly3000 avatar Jun 28 '25 17:06 JCfly3000

I have just updated the CLI again after getting rate limited after 20 minuites.

Now I have upgraded the CLI and now im getting this slow response error.

I asked work to get me code assist standard incase my personal one was the issue and the error message is telling me the same on both. Whats the point in paying if you run in to the rate limiting as much as the free tier. I think the summary should at least show us the requests used. Even if its doesnt persist it anywhere, just so we know if its genuine or not.

I get the same issue both on Windows + node 22 (lts) and at work on Ubuntu (LTS) with node 18. I know in agent mode, it can run multiple processes and in one request it could do like 5 calls. But 1000 calls in 20 mins? No, I only asked one question, which granted used 2 MCP tools (Jira and Gitlab).

I can't really ask work to pay for Code Assist standard when it only gets you 500 more requests and at this rate, that is an extra question or 5 minuites.

Just to confirm: Latst version of the CLI as of June 30th @2pm. │ CLI Version 0.1.7
│ Git Commit 55cc809
│ Model gemini-2.5-flash
│ Sandbox no sandbox

Image

DEMORALIZ3D avatar Jun 30 '25 13:06 DEMORALIZ3D

I have just updated the CLI again after getting rate limited after 20 minuites.

Now I have upgraded the CLI and now im getting this slow response error.

I asked work to get me code assist standard incase my personal one was the issue and the error message is telling me the same on both. Whats the point in paying if you run in to the rate limiting as much as the free tier. I think the summary should at least show us the requests used. Even if its doesnt persist it anywhere, just so we know if its genuine or not.

I get the same issue both on Windows + node 22 (lts) and at work on Ubuntu (LTS) with node 18. I know in agent mode, it can run multiple processes and in one request it could do like 5 calls. But 1000 calls in 20 mins? No, I only asked one question, which granted used 2 MCP tools (Jira and Gitlab).

I can't really ask work to pay for Code Assist standard when it only gets you 500 more requests and at this rate, that is an extra question or 5 minuites.

Just to confirm: Latst version of the CLI as of June 30th @2pm. │ CLI Version 0.1.7 │ Git Commit 55cc809 │ Model gemini-2.5-flash │ Sandbox no sandbox

Image

I don't know if this is a bug, or if they're just getting slammed with usage, so they have to de-prioritize people. I'm getting the exact same problem. It defaults to "flash" right away. What's the point of using it then?

tvhahn avatar Jun 30 '25 22:06 tvhahn

Found possible duplicate issues:

  • #3361: (0.931606141674702)
  • #2931: (0.9299102106663651)
  • #1904: (0.9292175492877536)
  • #2613: (0.9223236395313525)
  • #2025: (0.915856507893101)
  • #2683: (0.9101240310109867)
  • #3510: (0.9094844406535888)
  • #4317: (0.9094097885313571)
  • #2378: (0.9064891012456749)
  • #2333: (0.9050763519131054)
  • #2948: (0.9031048743991628)
  • #4300: (0.9025216967618975)
  • #4262: (0.9020606010538197)
  • #2830: (0.9013350874583453)

gsquared94 avatar Jul 30 '25 20:07 gsquared94

So?Was it cleared?

sesameXH avatar Aug 07 '25 09:08 sesameXH