anomalyco / anomalyco/opencode

Same model cannot use different reasoningEffort values across agents

Open
#39,524 1 comment 0 reactions 1 assignee View on GitHub

@rekram1-node is already working on this.

Since Jul 29, 2026.

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

Description

Description

When two agents use the same model with different reasoningEffort values, OpenCode appears to collapse them into a single variant.

Example:

{
"agent": {
"plan": {
"model": "deepinfra/deepseek-ai/DeepSeek-V4-Flash",
"reasoningEffort": "xhigh"
},
"build": {
"model": "deepinfra/deepseek-ai/DeepSeek-V4-Flash",
"reasoningEffort": "medium"
}
}
}

Expected

PLAN uses xhigh
BUILD uses medium

Actual

Both agents end up using the same reasoning variant (the /variants UI also shows the same value for both).

If both agents are configured with the same value (xhigh/xhigh or medium/medium), everything works correctly.

Plugins

No response

OpenCode version

1.18.7

Steps to reproduce
  1. Use the provided opencode.json
  2. Observe that the UI does not maintain a different "reasoningEffort" for PLAN and BUILD while toggling between modes.

IMPORTANT : This issue concerns only config that use same model but differents reasoningEffort for PLAN and BUILD

Screenshot and/or share link
Image Image
Operating System

Windows 10

Terminal

Windows terminal / Arch WSL

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.