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
Commit f901b9c
Browse filesBrowse the repository at this point in the historyBrowse files
tbartik
committed
fix(tui,app): keep manually selected model across turns
A selected model was overwritten by the agent's configured model after every
turn, so staying on a non-default model was impossible.
TUI: Prompt restored the model from the last user message on session
hydration. Drop that, and instead seed the model from durable session state
only when the agent has no local override.
App: the agent Select calls agents.select even when the value is unchanged,
and agent.set always rewrote the model as `item.model ?? prev?.model`. Skip
re-applying the already-persisted agent so an explicit pick survives.
Switching agents still applies that agent's model.
Closesanomalyco#39319
0 commit comments