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:
- the setting is applied but not displayed
- the setting is ignored
Reproduction
- Set
agent.build.model = openai/gpt-5.4
- Set
agent.build.reasoningEffort = xhigh
- Start a new session
- 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
Summary
When
reasoningEffortis 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:
opencode exportWhat happens instead
Build · gpt-5.4opencode export <session>showsproviderID: openaiandmodelID: gpt-5.4variant,reasoningEffort, or equivalent field to confirm thatxhighis activeWhy 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:
Reproduction
agent.build.model = openai/gpt-5.4agent.build.reasoningEffort = xhighActual session behavior observed
openai/gpt-5.4xhighRequest
Please either:
reasoningEffortis being applied at runtime