Skip to content

[FEATURE]: give task/subagent an optional config to choose what model it runs on #6558

Closed as not planned

Description

@modpotato

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

for an example arch (supervisor-ish):

plan mode

glad to hear you're happy with this implementation plan! lets begin [tool call general subagent, prompt "write bla bla bla frontend" and uses model codenamed "webui-best" which maps to glm 4.7]

impl: modpotato@22300b9

this is mainly for the "For net-new functionality, start with a design conversation" as it seems new enough a discussion, but otherwise ill just send the pr over :)

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 1, 2026
  2. github-actions commented on Jan 1, 2026

    @github-actions
    Contributor

    This issue might be related to existing issues. Please check:

  3. m10rten commented on Jan 5, 2026

    @m10rten

    Hi, this should already be possible, in your opencode config json file:

    "agent": {
      "general": {
        "model": "my-private-provider/my-custom-model"
      }
    },

    Or if you own the frontmatter in the markdown file: (will not work with built-in models obviously)

    ---
    description: ...
    mode: subagent
    model: my-private-provider/my-custom-model
    name: my-private-agent
    tools:
      bash: false
    ---
    
    # My Agent
    
    ...
  4. modpotato commented on Jan 6, 2026

    @modpotato
    Author

    yes but I mean allowing the primary agent to pick which llm provider combo gets used for the subagent

  5. github-actions commented on Mar 25, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions