Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Subagent with specific model results in model change in build and plan mode #6636

@legout

Description

@legout

Description

When using a subagent with a specific model, it happens, with the current version (1.0.223), that the main models (build and plan) is also changed to the subagents model. This did not happen before. Is this intentional? Can I reset/configure this somehow?

OpenCode version

1.0.223

Steps to reproduce

  1. Start using Model A
  2. Trigger a subanget for which another model (Model B) is set in the config
  3. After the subagent finished, the Model B is also set for the main agents (build and plan)

Screenshot and/or share link

No response

Operating System

Ubuntu 22.04

Terminal

wezterm

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