anomalyco / anomalyco/opencode

core: commands drop selected reasoning variant

Open
#43,474 0 comments 0 reactions 1 assignee View on GitHub

@kitlangton is already working on this.

Since Aug 19, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

V2 drops the selected reasoning variant when a command selects an agent or model without an explicit variant. For example, selecting xhigh and running a command whose agent specifies the same base model causes the reasoning indicator to disappear and the session to use the default variant.

V1 carries the selected variant name to the command-selected model when supported, falling back to that model's default otherwise. Explicit command or agent variants should still take precedence.

This appears to be an unintended consequence of the command-agent model precedence added in #34849.

Plugins

@onshape-mcp/opencode-auth

OpenCode version

0.0.0-local-202608191119 (v2)

Steps to reproduce
  1. Open the V2 TUI and select reasoning effort xhigh.
  2. Run a command whose configured agent uses a model without an explicit variant.
  3. Observe that the reasoning indicator disappears and the session switches to the default variant.
Screenshot and/or share link

Not available.

Operating System

Linux 7.0.0-29-generic (x64)

Terminal

TERM=xterm-256color, COLORTERM=truecolor

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.