Skip to content

Same model cannot use different reasoningEffort values across agents #39524

Closed as not planned

Description

@Laurent-Gb

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

Activity

  1. github-actions commented on Jul 29, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. github-actions commented on Sep 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions