Skip to content

OpenCode.json reasoningEffort setting doesnt work? #25026

@mejobloggs-cw

Description

@mejobloggs-cw

Description

I've tried a few different things similar to the config below, but every time I launch OpenCode it says Build mode is using GPT-5.4 HIGH

How can I set Build to medium via the config?

{
  "$schema": "https://opencode.ai/config.json",

  "provider": {
    "copilot": {}
  },

  "model": "github-copilot/gpt-5.4",
  "small_model": "github-copilot/gpt-5.4-mini",

  "agent": {
    "plan": {
      "model": "github-copilot/gpt-5.4",
      "reasoningEffort": "high",
      "textVerbosity": "low"
    },
    "build": {
      "model": "github-copilot/gpt-5.4",
      "reasoningEffort": "medium",
      "textVerbosity": "low"
    }
  }
}

Plugins

No response

OpenCode version

1.14.30

Steps to reproduce

Set config with

  "agent": {
    "plan": {
      "model": "github-copilot/gpt-5.4",
      "reasoningEffort": "high",
      "textVerbosity": "low"
    },
    "build": {
      "model": "github-copilot/gpt-5.4",
      "reasoningEffort": "medium",
      "textVerbosity": "low"
    }
  }
  • Run opencode
  • See if Build says "High" or "Medium"

Screenshot and/or share link

No response

Operating System

Latest Debian

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions