gemini-cli - 💡(How to fix) Fix regression in v0.45.1 - doesn't work at all

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

gemini -p "test" Error when talking to Gemini API Full report available at: /tmp/gemini-client-error-Turn.run-sendMessageStream-2026-06-05T13-11-41-085Z.json ModelNotFoundError: Publisher Model projects/*/locations/global/publishers/google/models/gemini-3-flash was not found or your project does not have access to it. Please ensure you are using a valid model version. For more information, see: https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions

Code Example

gemini -p "test"
Error when talking to Gemini API Full report available at: /tmp/gemini-client-error-Turn.run-sendMessageStream-2026-06-05T13-11-41-085Z.json ModelNotFoundError: Publisher Model `projects/*/locations/global/publishers/google/models/gemini-3-flash` was not found or your project does not have access to it. Please ensure you are using a valid model version. For more information, see: https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions

---

> /about
CLI Version                                                                                      0.45.1Git Commit                                                                                       9519ba6f0                                                                                                                                                                             │
Model                                                                                            AutoSandbox                                                                                          no sandbox                                                                                                                                                                            │
OS                                                                                               linux                                                                                                                                                                                 │
Auth Method                                                                                      vertex-ai                                                                                                                                                                             │
GCP Project                                                                                      pp-*
RAW_BUFFERClick to expand / collapse

What happened?

gemini -p "test"
Error when talking to Gemini API Full report available at: /tmp/gemini-client-error-Turn.run-sendMessageStream-2026-06-05T13-11-41-085Z.json ModelNotFoundError: Publisher Model `projects/*/locations/global/publishers/google/models/gemini-3-flash` was not found or your project does not have access to it. Please ensure you are using a valid model version. For more information, see: https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions

What did you expect to happen?

everything works

Client information

<details> <summary>Client Information</summary>

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

> /about
CLI Version                                                                                      0.45.1                                                                                                                                                                                │
│ Git Commit                                                                                       9519ba6f0                                                                                                                                                                             │
│ Model                                                                                            Auto                                                                                                                                                                                  │
│ Sandbox                                                                                          no sandbox                                                                                                                                                                            │
│ OS                                                                                               linux                                                                                                                                                                                 │
│ Auth Method                                                                                      vertex-ai                                                                                                                                                                             │
│ GCP Project                                                                                      pp-*
</details>

Login information

No response

Anything else we need to know?

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING