You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Option to keep the model picker's choice in its own session
#13657
I'd like a way to make a model switch apply only to the session it was made in.
Right now selectModel in session-controller (still the case on master and in 0.2.2-rc.4) records the pick on the session and then saves it as agent-default-model. #10316 and #10784 show how that bites: one switch to a pricier model, or a chat bot setting a model on its own session, quietly moves every new session and scheduled job onto it. The 2026-08-07 design note makes the picker the default's editor on purpose, and I get the reasoning. I would just like to be able to turn it off.
Something like a followPicker: false option on agent-default-model (or a flag in session-controller's config) that skips the saveSelection() call. With it off, the default comes from config or a field in Settings, and the picker changes the current session and nothing else. The saveDefault request flag proposed in #10784 would still be useful for plugins; this one is for people who switch in the Web UI.
For now the two chat-bridge plugins I maintain skip selectModel and do the same steps minus the save (llm.resolveCallConfig(), then agent.model.select()), the same way a scheduler plugin of mine sets a job's model. It works, but every integration ends up copying the switch logic, and the Web picker still has no session-only mode.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I'd like a way to make a model switch apply only to the session it was made in.
Right now
selectModelin session-controller (still the case on master and in 0.2.2-rc.4) records the pick on the session and then saves it asagent-default-model. #10316 and #10784 show how that bites: one switch to a pricier model, or a chat bot setting a model on its own session, quietly moves every new session and scheduled job onto it. The 2026-08-07 design note makes the picker the default's editor on purpose, and I get the reasoning. I would just like to be able to turn it off.Something like a
followPicker: falseoption onagent-default-model(or a flag in session-controller's config) that skips thesaveSelection()call. With it off, the default comes from config or a field in Settings, and the picker changes the current session and nothing else. ThesaveDefaultrequest flag proposed in #10784 would still be useful for plugins; this one is for people who switch in the Web UI.For now the two chat-bridge plugins I maintain skip
selectModeland do the same steps minus the save (llm.resolveCallConfig(), thenagent.model.select()), the same way a scheduler plugin of mine sets a job's model. It works, but every integration ends up copying the switch logic, and the Web picker still has no session-only mode.All reactions