feat: /variants slash command — switch model reasoning variant #300
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman#300
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of OpenCode command parity (transparent-layer goal). OpenCode's TUI has
/variants(title "Switch model variant", DialogVariant) to switch the current model's variant (e.g. reasoning / thinking-budget levels). The command is hidden when the model exposes no variants.Scope
variantstoBUILTIN_COMMANDS(frontend/src/lib/commands/builtinCommands.ts).hiddenbehaviour.Relation
Distinct from /model (#... existing /model picker chooses the model itself). /variants tunes the reasoning variant of the already-selected model. Note ocman's existing model handling (SessionDetail.tsx model split logic, Composer model badge) and whether variant is already tracked.
Notes
Confirm the OpenCode HTTP API exposes variant list + set for a session's model before building. Variant support is model-dependent.