Description
Description
The OpenCode TUI model badge shows openai/gpt-5.5 medium even when the resolved agent config has reasoningEffort: "high" and OpenAI receives the configured reasoning effort.
This appears to be a display/model-label issue rather than a request configuration issue.
Environment
- OpenCode version:
1.14.30
- Provider:
openai
- Model:
gpt-5.5
- OS: macOS
Config
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["oh-my-opencode-slim"],
"provider": {
"openai": {
"models": {
"gpt-5.5": {
"options": {
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto"
}
}
}
}
},
"agent": {
"orchestrator": {
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto"
}
}
}
Expected behavior
The TUI should show the effective reasoning effort, e.g.:
openai/gpt-5.5 high
or otherwise indicate that reasoningEffort: high is active.
Actual behavior
The TUI still shows:
openai/gpt-5.5 medium
even after restarting OpenCode.
Verification
opencode debug agent orchestrator shows:
"options": {
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto"
},
"variant": "high"
To confirm the option is actually passed through, I temporarily set:
"reasoningEffort": "definitely-invalid"
Then ran:
opencode run "say hi" --agent orchestrator --print-logs --log-level DEBUG
OpenAI rejected the request with:
{
"error": {
"message": "Invalid value: 'definitely-invalid'. Supported values are: 'none', 'minimal', 'low', 'medium', 'high', and 'xhigh'.",
"type": "invalid_request_error",
"param": "reasoning.effort",
"code": "invalid_value"
}
}
The debug log showed OpenCode sent:
"reasoning": {
"effort": "definitely-invalid",
"summary": "auto"
}
So reasoningEffort is passed through correctly, but the TUI badge still displays medium.
Possible cause
The TUI may be rendering the model’s default/internal variant label instead of the effective agent/provider reasoningEffort option.
Plugins
oh-my-opencode-slim But this appears reproducible without the plugin by setting reasoningEffort directly in opencode.json.
OpenCode version
1.14.30
Steps to reproduce
- Configure OpenAI GPT-5.5 with high reasoning effort:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"openai": {
"models": {
"gpt-5.5": {
"options": {
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto"
}
}
}
}
},
"agent": {
"orchestrator": {
"model": "openai/gpt-5.5",
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto"
}
}
}
- Restart OpenCode.
- Check the TUI model badge.
- Run:
opencode debug agent orchestrator
It shows:
"options": {
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto"
}
- The TUI still displays openai/gpt-5.5 medium.
- To verify the option is passed through, temporarily set:
"reasoningEffort": "definitely-invalid"
Then run:
opencode run "say hi" --agent orchestrator --print-logs --log-level DEBUG
OpenAI rejects the request with:
{
"message": "Invalid value: 'definitely-invalid'. Supported values are: 'none', 'minimal', 'low', 'medium', 'high', and 'xhigh'.",
"param": "reasoning.effort"
}
So reasoningEffort is being passed to OpenAI, but the TUI still displays medium.
Screenshot and/or share link
Operating System
macOS 26.4.1
Terminal
macOS terminal, zsh shell
Description
Description
The OpenCode TUI model badge shows
openai/gpt-5.5 mediumeven when the resolved agent config hasreasoningEffort: "high"and OpenAI receives the configured reasoning effort.This appears to be a display/model-label issue rather than a request configuration issue.
Environment
1.14.30openaigpt-5.5Config
{ "$schema": "https://opencode.ai/config.json", "plugin": ["oh-my-opencode-slim"], "provider": { "openai": { "models": { "gpt-5.5": { "options": { "reasoningEffort": "high", "textVerbosity": "low", "reasoningSummary": "auto" } } } } }, "agent": { "orchestrator": { "reasoningEffort": "high", "textVerbosity": "low", "reasoningSummary": "auto" } } }Expected behavior
The TUI should show the effective reasoning effort, e.g.:
openai/gpt-5.5 high
or otherwise indicate that reasoningEffort: high is active.
Actual behavior
The TUI still shows:
openai/gpt-5.5 medium
even after restarting OpenCode.
Verification
opencode debug agent orchestrator shows:
To confirm the option is actually passed through, I temporarily set:
"reasoningEffort": "definitely-invalid"Then ran:
opencode run "say hi" --agent orchestrator --print-logs --log-level DEBUGOpenAI rejected the request with:
The debug log showed OpenCode sent:
So reasoningEffort is passed through correctly, but the TUI badge still displays medium.
Possible cause
The TUI may be rendering the model’s default/internal variant label instead of the effective agent/provider reasoningEffort option.
Plugins
oh-my-opencode-slim But this appears reproducible without the plugin by setting reasoningEffort directly in opencode.json.
OpenCode version
1.14.30
Steps to reproduce
{ "$schema": "https://opencode.ai/config.json", "provider": { "openai": { "models": { "gpt-5.5": { "options": { "reasoningEffort": "high", "textVerbosity": "low", "reasoningSummary": "auto" } } } } }, "agent": { "orchestrator": { "model": "openai/gpt-5.5", "reasoningEffort": "high", "textVerbosity": "low", "reasoningSummary": "auto" } } }opencode debug agent orchestratorIt shows:
"reasoningEffort": "definitely-invalid"Then run:
OpenAI rejects the request with:
So reasoningEffort is being passed to OpenAI, but the TUI still displays medium.
Screenshot and/or share link
Operating System
macOS 26.4.1
Terminal
macOS terminal, zsh shell