Skip to content

Only current selected agent's model persists when resuming a session (other agent(s) revert to default) #23369

@malventano

Description

@malventano

Description

When resuming a session (e.g. opencode -c), the selected agent's model is restored, but the other model(s) revert to the default.

Plugins

none

OpenCode version

1.4.11

Steps to reproduce

  1. Configure opencode to have a default model.
  2. Set plan/build models something other than the default.
  3. Close opencode.
  4. opencode -c or load the session within the TUI
  5. Switch agents and observe the other agent now uses the default instead of the one selected in the prior session.

Screenshot and/or share link

No response

Operating System

Ubuntu

Terminal

tmux

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions