-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: Model dropdown does not reflect effective runtime model after fallback/default drift #93346
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.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.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.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.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.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.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.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.
Type
Fields
Priority
None yet
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
The chat UI model dropdown can show
codex/gpt-5.5as selected while the active session is actually using the default local model, in my caseollama/qwen3.5:9b.This makes it difficult to tell which model is really being used. The only reliable workaround I have found is to manually run
/model codex:gpt-5.5, even though the dropdown already appears to have that model selected.Steps to reproduce
ollama/qwen3.5:9b.codex/gpt-5.5from the model dropdown.codex/gpt-5.5./modelor by observing behavior/logs.ollama/qwen3.5:9beven though the dropdown still sayscodex/gpt-5.5.Expected behavior
The UI dropdown should reflect the actual active model for the session.
If OpenClaw intentionally falls back or “drifts” to the default/primary model, the UI should update to show the effective model, or clearly display both:
For example:
codex/gpt-5.5 selected, currently using ollama/qwen3.5:9b.Or, it should only change if the user changes the selected model in the chat drop down box for that specific session.
Actual behavior
The dropdown can continue showing
codex/gpt-5.5while the session is actually usingollama/qwen3.5:9b.This creates a misleading UI state. Since the dropdown already appears correct, the user has no obvious way to fix it except manually running
/model codex:gpt-5.5.OpenClaw version
2026.6.6
Operating system
ubuntu 24.04 64bit
Install method
No response
Model
Configured/default primary:
ollama/qwen3.5:9bExpected selected chat model:codex/gpt-5.5Actual observed runtime model:ollama/qwen3.5:9bProvider / routing chain
Local Ollama primary/default, Codex/OpenAI model selected in chat UI.
Additional provider/model setup details
I also saw a related case with a weekly cron job where
healthcheck:security-audithad drifted back toollama/qwen3.5:9beven though that task needscodex/gpt-5.5for reliable tool-heavy execution. That was fixed by explicitly setting the cron model override:openclaw cron edit <job-id> --model codex/gpt-5.5 --thinking offThe chat UI issue feels like the same class of problem: the effective runtime model can differ from the user-visible selected model, and the UI does not make that obvious.
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response