-
-
Notifications
You must be signed in to change notification settings - Fork 52.6k
Closed
Description
Summary
OpenClaw rejects google-gemini-cli/gemini-3.1-pro-preview as an unknown model, even though Gemini CLI OAuth can select and run that model successfully on the same machine/account.
Environment
- OpenClaw:
2026.2.24 - Gateway runtime observed earlier in status:
2026.2.23(after updates, still latest stable line) - Provider path:
google-gemini-cli(OAuth profile) - Host: macOS
What works
- Direct Gemini CLI (
gemini) can usegemini-3.1-pro-preview. - In CLI model picker, the model appears and can be selected, and prompts run successfully.
What fails
When an OpenClaw agent model is set to:
google-gemini-cli/gemini-3.1-pro-preview
OpenClaw fails before reply with:
Unknown model: google-gemini-cli/gemini-3.1-pro-previewFailoverError: Unknown model: google-gemini-cli/gemini-3.1-pro-preview
Repro
- Configure an agent model primary as
google-gemini-cli/gemini-3.1-pro-preview. - Send a message to that agent.
- Observe immediate failure and unknown model error.
Expected behavior
If Gemini CLI OAuth supports and can run gemini-3.1-pro-preview, OpenClaw should accept that model id for google-gemini-cli/* and route normally.
Temporary workaround
Use:
google-gemini-cli/gemini-3-pro-preview(primary)google-gemini-cli/gemini-3-flash-preview(fallback)
Request
Please update OpenClaw's google-gemini-cli model registry/validation to include gemini-3.1-pro-preview (and ideally keep this list synchronized with Gemini CLI availability to avoid lag).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels