Repository navigation
Commit 14dfde0
committed
fix(provider): exclude codex-spark from reasoning.summary parameter
gpt-5.3-codex-spark does not support the reasoning.summary parameter,
but OpenCode unconditionally sets it for all GPT-5 models. This causes
an immediate API error making the model unusable via the OpenAI path.
Skip reasoningSummary for codex-spark in both the variant definitions
and the default provider options.
Fixes anomalyco#187911 parent c529529 commit 14dfde0
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| 508 | + | |
508 | 509 | | |
509 | 510 | | |
510 | 511 | | |
511 | 512 | | |
512 | 513 | | |
513 | | - | |
| 514 | + | |
514 | 515 | | |
515 | 516 | | |
516 | 517 | | |
| |||
794 | 795 | | |
795 | 796 | | |
796 | 797 | | |
797 | | - | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
798 | 801 | | |
799 | 802 | | |
800 | 803 | | |
| |||
0 commit comments