fix(tui): keep configured model and agent when navigating sessions
Navigating between sessions adopted the session's last-used model and agent, which overrode an explicitly configured model/default_agent (or --model/--agent). Skip the auto-adoption when an explicit selection exists so the user's configured choice sticks.
This commit is contained in:
parent
10252bab83
commit
5c6356f5a6
2 changed files with 6 additions and 5 deletions
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
"model": "anthropic/claude-opus-4-8",
|
||||
// "default_agent": "custom",
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"provider": {},
|
||||
"permission": {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue