Skip to content

feat(chat): switch execution mode from the model picker#183

Merged
su-fen merged 3 commits into
Stack-Cairn:mainfrom
24baigei:feat/execution-mode-in-model-picker
Jul 21, 2026
Merged

feat(chat): switch execution mode from the model picker#183
su-fen merged 3 commits into
Stack-Cairn:mainfrom
24baigei:feat/execution-mode-in-model-picker

Conversation

@24baigei

Copy link
Copy Markdown
Contributor

The Chat/Agent execution mode lived only in Settings, several clicks away. Embed a compact mode segment at the top of the model dropdown on both the desktop ChatHeader and the WebUI fork: Chat | Agent side by side with the active mode highlighted, plus a hint that a switch applies from the next message while the conversation continues.

Selecting a mode calls updateSystem on the global setting (idempotent when re-selecting the current mode); the panel stays open so users can adjust model and mode together. agent-dev counts as Agent: the segment shows "Agent·dev" and re-selecting Agent never downgrades it — the dev toggle remains settings-only. The model picker is the natural home because model and mode answer the same question (how the next reply is produced) and the dropdown costs no space on the crowded mobile composer.

24baigei and others added 3 commits July 21, 2026 03:42
The Chat/Agent execution mode lived only in Settings, several clicks away.
Embed a compact mode segment at the top of the model dropdown on both the
desktop ChatHeader and the WebUI fork: Chat | Agent side by side with the
active mode highlighted, plus a hint that a switch applies from the next
message while the conversation continues.

Selecting a mode calls updateSystem on the global setting (idempotent when
re-selecting the current mode); the panel stays open so users can adjust
model and mode together. agent-dev counts as Agent: the segment shows
"Agent·dev" and re-selecting Agent never downgrades it — the dev toggle
remains settings-only. The model picker is the natural home because model
and mode answer the same question (how the next reply is produced) and the
dropdown costs no space on the crowded mobile composer.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Base UI migration moved the model picker's enter/exit from
keyframe animations to transitions, but the prefers-reduced-motion
block only disabled animations. Mirror the desktop CSS by adding
.model-selector-dropdown to the transition: none group.
@su-fen
su-fen merged commit 0da7486 into Stack-Cairn:main Jul 21, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants