Gemini CLI Is Broken

4 months ago 4

What happened?

Gemini CLI is not recongizing my Google Workspace account to have a gemini code assist standard subscription.

I have enabled the Google Cloud API, I have added the IAM user permissions, I have assigned the licenses, and deleted the .gemini cache. Even though I signed in with my workspace account using /auth, the .gemini/settings.json still says "selectedAuthType": "oauth-personal"

I verified that I can access the Gemini assist for VS Code, but the CLI fails to recognize my subscription and still gives me the following errors:

ℹ ⚡ 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 either upgrade to Standard tier. See: https://goo.gle/set-up-gemini-code-assist ⚡ Or 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

The automatic switching to Gemini 2.5 Flash introduced bugs into my code and did not follow the previous plan I had when executing with Gemini 2.5 Pro.

What did you expect to happen?

When I sign in with /auth using my account after enabling the Code Assist, I expect:

  1. A confirmation that my code assist subscription is recognized
  2. An error message if not recognized or not enable
  3. A command /status that allows me to confirm and view the subscription status

Client information

CLI Version 0.1.7 Git Commit 55cc809 Model gemini-2.5-flash Sandbox no sandbox OS darwin Auth Method OAuth GCP Project state-space-464514

Platform = macos

Login information

I am logged in via Google Workspace using /auth command from the CLI

When I login, I get the following message:

bookmark_border The authentication with Gemini Code Assist, Cloud Code with Gemini Code Assist, or the Gemini CLI was successful. To learn more about Gemini Code Assist capabilities, see the [Gemini Code Assist documentation](https://developers.google.com/gemini-code-assist/docs/overview). To learn more about Gemini CLI, see the [Gemini CLI documentation](https://github.com/google-gemini/gemini-cli). You can close this window and return to your IDE or terminal.``` ### Anything else we need to know? I also set the project ID env GOOGLE_CLOUD_PROJECT="state-space-464514”

Read Entire Article