Skip to content

Models in subagents override TUI session model #7430

@wizzomafizzo

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

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