Skip to content

OpenAI reasoningEffort=xhigh is not visible in TUI or export #18634

@Valeron2206

Description

@Valeron2206

Summary

When reasoningEffort is set explicitly for an OpenAI build agent, OpenCode does not visibly expose whether the setting is actually active.

Config used

{
  "$schema": "https://opencode.ai/config.json",
  "agent": {
    "build": {
      "model": "openai/gpt-5.4",
      "reasoningEffort": "xhigh",
      "textVerbosity": "low",
      "reasoningSummary": "auto"
    }
  }
}

What I expect

At least one reliable way to confirm the active reasoning setting for the session, for example:

  • visible in the TUI model/status line
  • present in opencode export
  • visible through a config/debug endpoint

What happens instead

  • TUI only shows Build · gpt-5.4
  • opencode export <session> shows providerID: openai and modelID: gpt-5.4
  • there is no obvious variant, reasoningEffort, or equivalent field to confirm that xhigh is active

Why this matters

OpenCode docs document OpenAI reasoning variants (low, medium, high, xhigh) and also show direct agent-level reasoning options, but in practice there is no trustworthy runtime signal that the configured reasoning effort was actually applied.

This makes it hard to distinguish between:

  1. the setting is applied but not displayed
  2. the setting is ignored

Reproduction

  1. Set agent.build.model = openai/gpt-5.4
  2. Set agent.build.reasoningEffort = xhigh
  3. Start a new session
  4. Observe TUI header / export output

Actual session behavior observed

  • new session clearly uses openai/gpt-5.4
  • no visible indication of xhigh

Request

Please either:

  • surface active reasoning settings in TUI/export/debug output, or
  • document the canonical way to verify that reasoningEffort is being applied at runtime

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