Skip to content

Models in subagents override TUI session model #7430

Closed

Description

@wizzomafizzo

Description

When running a subagent or commands, once it completes, the TUI session's model will have changed to the model that was set on the agent. It seems like odd behaviour to me that a subagent runs in isolation and then pollutes the parent session with the model.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jan 9, 2026

    @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.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions