-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: Resolved default model google/gemini-3.1-pro-preview cannot be inspected or executed in 2026.6.5 #92009
Copy link
Copy link
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingSomething isn't workingclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.regressionBehavior that previously worked and now failsBehavior that previously worked and now fails
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingSomething isn't workingclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.regressionBehavior that previously worked and now failsBehavior that previously worked and now fails
Type
Fields
Priority
None yet
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
After upgrading to OpenClaw 2026.6.5, a configured default model of
google/gemini-3.1-pro-previewwas retained in config but was no longer recognized byopenclaw infer model inspectoropenclaw infer model run, causing Gemini-backed agent responses to fail until the model configuration was manually repaired.Steps to reproduce
google/gemini-3.1-pro-previewas the default model.openclaw infer model auth statusand observegoogle/gemini-3.1-pro-previewas the resolved default model.openclaw infer model inspect --model google/gemini-3.1-pro-preview.Model not found.openclaw infer model run --model google/gemini-3.1-pro-preview --prompt "Reply with OK only.".Unknown model.openclaw infer model list | grep -i '"provider":"google"'.google/gemini-2.5-prois present in the native Google model catalog.Expected behavior
A configured default model should either remain runnable after upgrade or be automatically migrated, removed, or flagged with a clear validation error if the model is no longer supported by the runtime catalog.
Actual behavior
google/gemini-3.1-pro-previewremained configured as the default and resolved default model, butopenclaw infer model inspect --model google/gemini-3.1-pro-previewreturnedModel not foundandopenclaw infer model run --model google/gemini-3.1-pro-preview --prompt "Reply with OK only."returnedUnknown model;openclaw infer model listshowed onlygoogle/gemini-2.5-proin the native Google model catalog.OpenClaw version
2026.6.5
Operating system
Linux Mint 22.3 Zena, based on Ubuntu 24.04 LTS
Install method
npm global
Model
google/gemini-3.1-pro-preview
Provider / routing chain
google
Additional provider/model setup details
Configured default model:
google/gemini-3.1-pro-previewObserved after upgrade:
openclaw infer model inspect --model google/gemini-3.1-pro-previewreturnedModel not found.openclaw infer model run --model google/gemini-3.1-pro-preview --prompt "Reply with OK only."returnedUnknown model.openclaw infer model list | grep -i '"provider":"google"'showed only:{"id":"gemini-2.5-pro","name":"Gemini 2.5 Pro","provider":"google"}The system was restored by changing the default model to
google/gemini-2.5-pro.Logs, screenshots, and evidence
Impact and severity
Affected: Users with configurations that still reference
google/gemini-3.1-pro-previewafter upgrading to OpenClaw 2026.6.5.Severity: High. The configured default model cannot be inspected or executed, which can prevent agent responses until the model configuration is manually corrected.
Frequency: Observed consistently in this environment.
Consequence: Gemini-backed agents may stop responding because the configured default model is not runnable by the inference runtime.
Additional information
The configuration contained
google/gemini-3.1-pro-previewas both the configured default model and the resolved default model.Observed runtime behavior:
openclaw infer model inspect --model google/gemini-3.1-pro-previewreturnedModel not found.openclaw infer model run --model google/gemini-3.1-pro-preview --prompt "Reply with OK only."returnedUnknown model.openclaw infer model listshowed onlygoogle/gemini-2.5-proin the native Google provider catalog.Workaround: change the default model to
google/gemini-2.5-pro.