Skip to content

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

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

No activity

Activity on this issue will appear here.

Activity

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