Repository navigation
Description
Description
Using the official OpenAI provider path in OpenCode, selecting openai/gpt-5.3-codex-spark fails with:
Unsupported parameter: 'reasoning.summary' is not supported with the 'gpt-5.3-codex-spark' model.
This does not look like a local-config-only problem, and it does not appear to have been introduced specifically by v1.3.0.
What I verified:
-
Exact repro on current OpenCode 1.3.0
- Command used:
opencode --model openai/gpt-5.3-codex-spark --prompt "Reply with the single word pong." - OpenCode displayed the exact error above in the session UI.
- Command used:
-
Not caused by my local routing config
- My active
~/.config/opencode/oh-my-opencode.jsonis currently routed togpt-5.4/gpt-5.4-mini, not Spark. - With a clean temporary home and only minimal config:
stock OpenCode still lists
OPENCODE_CONFIG_CONTENT='{"provider":{"openai":{}}}' HOME="$tmpdir" XDG_CONFIG_HOME="$tmpdir/.config" opencode models openai --verbose
openai/gpt-5.3-codex-sparkand its variants still includereasoningSummary.
- My active
-
The relevant behavior predates 1.3.0
packages/opencode/src/provider/transform.tsin v1.2.24, v1.2.27, and v1.3.0 all auto-set GPT-5 defaults including:reasoningEffort = "medium"reasoningSummary = "auto"
packages/opencode/src/provider/sdk/copilot/responses/openai-responses-language-model.tsin v1.2.27 and v1.3.0 mapsreasoningSummaryinto the Responses API request body as:"reasoning": { "summary": ... }
-
Related external evidence
- OpenAI Codex issue:
openai/codex#13009 - That issue reports the same official-model failure:
Unsupported parameter: 'reasoning.summary' is not supported with the 'gpt-5.3-codex-spark' model.
- OpenAI Codex issue:
Why this seems actionable in OpenCode
Even if the backend/model metadata is inconsistent upstream, OpenCode currently advertises/uses Spark with reasoningSummary defaults that lead to an immediate request failure.
So from an OpenCode user perspective, the model is selectable but broken on the official OpenAI path.
Expected behavior
At least one of:
- Do not send
reasoning.summaryforgpt-5.3-codex-spark. - Hide/disable Spark variants/settings that imply reasoning summaries if the model rejects them.
- Gate
reasoningSummarybased on model-specific compatibility rather than broad GPT-5 defaults. - Surface a clearer compatibility warning before request submission.
Existing near-matches I found
These seem related but not exact matches for this specific failure mode:
#13469— Spark unsupported with ChatGPT account#17309— Spark unsupported / Codex issues after upgrade#16154— reasoning parameter mismatch on@ai-sdk/openai-compatiblecustom providers
This report is specifically about the official OpenAI provider path returning unsupported_parameter for reasoning.summary on gpt-5.3-codex-spark.
Plugins
OhMyOpenCode 3.12.3
OpenCode version
v1.3.0
Steps to reproduce
- Authenticate with OpenAI / Codex OAuth path.
- Run:
opencode --model openai/gpt-5.3-codex-spark --prompt "Reply with the single word pong." - Observe request failure with:
Unsupported parameter: 'reasoning.summary' is not supported with the 'gpt-5.3-codex-spark' model.
Screenshot and/or share link
No share link. Reproduced locally and confirmed with source/tag comparison.
Operating System
WSL2 / Linux
Terminal
OpenCode CLI / Windows Terminal
Activity
github-actions commentedon Mar 23, 2026
This issue might be a duplicate of existing issues. Please check:
(Note: the reporter has already reviewed these and argues this report covers a distinct failure path — the official OpenAI provider returning
unsupported_parameterforreasoning.summary. Maintainers may want to consolidate or track separately.)50sotero commentedon Mar 23, 2026
Follow-up after more targeted reproduction:
The failure is variant-specific, not a total Spark outage.
Repro matrix on OpenCode 1.3.0 using opencode run --format json with model openai/gpt-5.3-codex-spark:
Strong hint about the root cause:
In local Spark variant config, low and medium use reasoningSummary = auto, while high and xhigh use reasoningSummary = detailed.
I also tested config overrides without editing the real file:
So the actionable issue seems to be that gpt-5.3-codex-spark rejects the request shape produced for detailed reasoning summaries, while auto or omitted summaries still work. A practical fix may be to avoid sending detailed reasoning summaries for this model.
50sotero commentedon Mar 23, 2026
I dug a bit deeper and this looks like a narrow
ProviderTransform.variants()bug rather than a general Spark outage.Root cause
For
@ai-sdk/openai,packages/opencode/src/provider/transform.tscurrently gives GPT-5 variants:low/medium->reasoningSummary: "auto"high/xhigh->reasoningSummary: "detailed"That works for most GPT-5 models, but
gpt-5.3-codex-sparkappears to reject thedetailedsummary path while still acceptingauto.I verified locally:
gpt-5.3-codex-spark+low✅gpt-5.3-codex-spark+medium✅gpt-5.3-codex-spark+high❌Unsupported parameter: reasoning.summarygpt-5.3-codex-spark+xhigh❌ same errorAnd forcing Spark
high/xhighto usereasoningSummary: "auto"made both variants work.Suggested patch
File:
packages/opencode/src/provider/transform.tsMinimal fix in the
@ai-sdk/openaibranch ofProviderTransform.variants():This preserves
reasoningEffortfor Spark while avoiding the known-bad summary shape.Regression test
There’s already a good home for this:
packages/opencode/test/provider/transform.test.tsSuggested test cases:
Why this seems preferable
fix(provider): exclude codex-spark from reasoning.summary parameter
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.