M17-5: Model switch UI per instance #156
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#156
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As an operator, I want to change an agent instance's model from the dashboard's edit-agent modal, so that I can tune model selection without touching SQLite or restarting the service.
Acceptance criteria
Edit-agent modal
claude-opus-4-7claude-opus-4-7[1m]claude-sonnet-4-6claude-sonnet-4-6[1m]claude-haiku-4-5-20251001API
PATCH /agents/:nameaccepts{ model: string | null }(null clears the override and falls back to the type default)reconcileOne(name)re-reads the agent after the PATCH — NO container recreation (model is per-dispatch, not per-container)Tests
main-agents.test.ts— PATCH with model, reconcile called, resolved model matches the new valuedashboard-browser.test.ts— dropdown interacts + submits correctlyOut of scope
Dependencies
References
specs/m17-multi-repo-and-observability.md§Story M17-5