You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: give task/subagent an optional config to choose what model it runs on #6558
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]
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 :)
This issue might be related to existing issues. Please check:
Custom subagents with explicit model config throw ProviderModelNotFoundError #5623: Custom subagents with explicit model config throw ProviderModelNotFoundError - While this is a bug report about model config for subagents not working, it's closely related to your feature request and might be worth reviewing to understand the current state of model configuration for subagents.
Activity
github-actions commentedon Jan 1, 2026
This issue might be related to existing issues. Please check:
m10rten commentedon Jan 5, 2026
Hi, this should already be possible, in your opencode config json file:
Or if you own the frontmatter in the markdown file: (will not work with built-in models obviously)
modpotato commentedon Jan 6, 2026
yes but I mean allowing the primary agent to pick which llm provider combo gets used for the subagent
github-actions commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.