mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-17 12:56:41 +02:00
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:
@@ -1,6 +1,4 @@
|
||||
{
|
||||
"model": "anthropic/claude-opus-4-8",
|
||||
// "default_agent": "custom",
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"provider": {},
|
||||
"permission": {},
|
||||
|
||||
Reference in New Issue
Block a user