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

Cannot switch to gemini-2.5-pro

Open achereshnevdg opened this issue 1 year ago • 7 comments

What happened?

After setting GEMINI_API_KEY and GEMINI_MODEL="gemini-2.5-pro" and running gemini, it shows the Pro model at the beginning and then switches back to the Flash one

What did you expect to happen?

Model stays at "gemini-2.5-pro"

Client information

  • CLI Version: 0.1.5
  • Git Commit: bf873a1
  • Operating System: darwin v24.3.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-flash
  • Memory Usage: 262.3 MB

Login information

export GEMINI_API_KEY="key"

Anything else we need to know?

No response

achereshnevdg avatar Jun 27 '25 10:06 achereshnevdg

facing the same issue

yashokuu avatar Jun 27 '25 11:06 yashokuu

ditto

orchidfire avatar Jun 27 '25 11:06 orchidfire

gemini-cli不能使用gemini-2.5-pro

zhengguangli avatar Jun 28 '25 03:06 zhengguangli

same

GrazianoGuiducci avatar Jun 28 '25 08:06 GrazianoGuiducci

Same issue. Including using the -m flag on startup. We need a reliable way to control which model is being used.

hal-nine avatar Jun 28 '25 11:06 hal-nine

Duplicate?

claell avatar Jun 28 '25 12:06 claell

We are aware of the large number of 429s and model switching to flash during our first week. We’re actively increasing capacity and adjusting this model fallback to resolve the issue and prevent future disruptions.

This is being tracked and discussed in #1502

sethtroisi avatar Jul 01 '25 23:07 sethtroisi