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]: Commands Model Variant Specification #7713
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
I'm willing to implement this, but since it involves some design decisions, I wanted to open an issue first.
Summary
Add a variant field to the commands feature. Currently, command definitions in command/*.md or opencode.json(c) only allow selecting the model or agent, but not the model variant.
Motivation
While variants can be applied globally or per-agent, it is useful to bake specific reasoning efforts into commands. For example, a command designed for complex planning or code review might always want to use a high thinking variant of a lightweight model, even if the user's global preference is set to minimal. This ensures specific tasks have the reasoning budget they need without requiring the user to manually switch variants before running the command.
You may want to cross-reference these issues, particularly #7138 which implements the agent-level variant configuration that would complement your proposed command-level variant specification.
@koichincom Nakayamada-san, this is similar to what I was interested in with my issue #7138 / pr #7156 for variant support in agents - try taking a look and see if maybe commands can be extended similarly :P
@koichincom Nakayamada-san, this is similar to what I was interested in with my issue #7138 / pr #7156 for variant support in agents - try taking a look and see if maybe commands can be extended similarly :P
@CasualDeveloper Thanks! I'll look into it and probably make a PR for the commands feature!
Activity
github-actions commentedon Jan 10, 2026
This feature request is related to several existing issues that address variant and model configuration:
--variantflag to rootopencodecommand #7354: Add--variantflag to rootopencodecommand - Related to variant handling via CLIYou may want to cross-reference these issues, particularly #7138 which implements the agent-level variant configuration that would complement your proposed command-level variant specification.
CasualDeveloper commentedon Jan 11, 2026
@koichincom Nakayamada-san, this is similar to what I was interested in with my issue #7138 / pr #7156 for variant support in agents - try taking a look and see if maybe commands can be extended similarly :P
koichiio commentedon Jan 11, 2026
@CasualDeveloper Thanks! I'll look into it and probably make a PR for the commands feature!
thdxr 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.