Skip to content

Selected model for agent in TUI doesn't stick between Agent Alternation #4344

Closed

Description

@ucirello

Description

Before v1, if my memory serves me well, I was able to select a model for an agent. And therefore, when I alternated between agents the model would change with it.

With since v1, I can alternate between agents, but now, I have to change the model manually.

OpenCode version

1.0.65

Steps to reproduce

  1. Start opencode
  2. Switch to Builder mode; select one model
  3. Switch to Plan mode; select a different model
  4. Switch back to Builder model; the Plan Mode model sticks.

Screenshot and/or share link

No response

Operating System

macOS Tahoe

Terminal

iterm2

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 15, 2025
  2. github-actions commented on Nov 15, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. deepakkum8960-alt commented on Nov 15, 2025

    @deepakkum8960-alt
  4. rekram1-node commented on Nov 19, 2025

    @rekram1-node
    Contributor

    /oc does changing agents in the tui not respect the model the agent has defined for it? If that is the case fix it

  5. opencode-agent commented on Nov 19, 2025

    @opencode-agent
    Contributor

    Created PR #4514

    New%20session%20-%202025-11-19T23%3A19%3A47.294Z
    opencode session  |  github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions