Skip to content

Move the per-agent model override to the settings page; drop the chat Settings tab - #549

Merged
Sheldenshi merged 1 commit into
mainfrom
refactor/agent-model-settings
Jul 8, 2026
Merged

Move the per-agent model override to the settings page; drop the chat Settings tab#549
Sheldenshi merged 1 commit into
mainfrom
refactor/agent-model-settings

Conversation

@Sheldenshi

Copy link
Copy Markdown
Collaborator

Summary

  • The per-agent model override moves from the chat Settings tab to an "Agent model" card on the settings page (under Default model, inside the provider section managed mode hides). Same semantics: active-agent scope, two-layer default-agent write, snapshot-not-live-link "Use default model".
  • The chat Settings tab was unreachable after the home redesign (its only host surface redirects to the composer), so the tab, its ChatTabBar entry, the hideSettingsTab prop, and the settings-only reset effect are removed.
  • ADRs per-agent-provider-settings.md and model-first-selection.md updated to the new surface.

Test plan

  • bun run typecheck; bun run test — main 4803 pass / 0 fail, web 640 pass / 0 fail with coverage gate
  • Browser-verified: settings card shows the active agent's pair, picking a model persists across reload (checked via /api/agents), chat tab bar shows Messages | Jobs only, zero page errors

🤖 Generated with Claude Code

The chat Settings tab's only host — the unpinned /chat route — is dead
under the home redesign, leaving the per-agent model override unreachable.
Move the control to the settings page as an "Agent model" card adjacent to
the Default model control, inside the provider section managed deployments
hide. The card keeps the SettingsTab contract: active-agent scope, the
default agent's picks routed through the two-layer default-model write,
and the snapshot-not-live-link "Use default model" semantics.

Remove the dead tab plumbing: SettingsTab.tsx, the ChatTabBar settings
entry, the hideSettingsTab/isPinned props and the settings-tab reset
effect in ChatSurface, and the chat page / TopicPanel wiring. Update ADRs
per-agent-provider-settings.md and model-first-selection.md to describe
the new surface.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Sheldenshi
Sheldenshi merged commit 1a972e6 into main Jul 8, 2026
8 checks passed
@Sheldenshi
Sheldenshi deleted the refactor/agent-model-settings branch July 8, 2026 02:00
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.

1 participant