-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: WebChat + New Session displays default model but inherits parent's model override #86174
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.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.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.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 a crash)
Beta release blocker
No
Summary
In Control UI WebChat,
+ New Sessioncan showDefault (<configured default model>)in the model picker while the first message is actually routed through the previously selected parent session's non-default model override.Steps to reproduce
+ New Session.Default (model A).Expected behavior
A new session that displays
Default (model A)should route its first message to model A, or the UI should visibly show that it will inherit model B before the user sends a message.Selecting the configured default in the new session should also provide a way to override any inherited parent model choice.
Actual behavior
The new session routes its first message to model B, even though its picker displays
Default (model A).In an observed run on OpenClaw
2026.5.19, the child session's first runtime event and all subsequent events used the parent's non-default model. There was no request to the configured default model and no fallback event.Environment
2026.5.19openai/gpt-5.5and parent overrideqwen/qwen3.6-plusEvidence and apparent cause
Inspection of the installed
2026.5.19distribution shows:+ New Sessioncontrol callssessions.createwith the currently selected dashboard session asparentSessionKey.modelOverride; the picker therefore renders the configured default label.chat.senddoes not carry the displayed picker model.sessions.patchclears direct override fields rather than storing an explicit child-level "use default" selection, so the parent override continues to win.This creates a user-visible mismatch: the model picker says the next request will use the default model, but effective routing uses the parent model.
Impact and severity
Related issues
+ New Session.Suggested behavior
Any of the following would avoid silent misrouting:
+ New Session, unless inheritance is explicitly requested.