top | item 44384699

(no title)

xuf | 8 months ago

Got the exact same thing here, using Gemini with an API key.

discuss

order

tobyhinloopen|8 months ago

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.

xuf|8 months ago

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