reasoning summary not set for gpt-5 models (non chat) by default #8721

Closed
opened 2026-02-16 18:10:40 -05:00 by yindo · 1 comment
Owner

Originally created by @scratchmex on GitHub (Feb 6, 2026).

Originally assigned to: @thdxr on GitHub.

Description

the reasoningSummary option is not set by default when no variant is selected on gpt-5 models. but this is done in opencode/ models already

https://github.com/anomalyco/opencode/blob/2c58dd6203df7806f57ef6b29672091cb764e871/packages/opencode/src/provider/transform.ts#L662-L666

Plugins

NA

OpenCode version

dev

Steps to reproduce

send any prompt in a gpt-5 model without selecting a variant and you won't see any reasoning blocks

no variant means the default non selected. instead of image you will see no variant

Screenshot and/or share link

what we got

Image

I expect something like this

Image

Operating System

NA

Terminal

NA

Originally created by @scratchmex on GitHub (Feb 6, 2026). Originally assigned to: @thdxr on GitHub. ### Description the `reasoningSummary` option is not set by default when no variant is selected on gpt-5 models. but this is done in `opencode/` models already https://github.com/anomalyco/opencode/blob/2c58dd6203df7806f57ef6b29672091cb764e871/packages/opencode/src/provider/transform.ts#L662-L666 ### Plugins NA ### OpenCode version dev ### Steps to reproduce send any prompt in a gpt-5 model without selecting a variant and you won't see any reasoning blocks no variant means the default non selected. instead of <img width="66" height="25" alt="image" src="https://github.com/user-attachments/assets/a933a435-0042-4d33-b447-13ce37c72d52" /> you will see no variant ### Screenshot and/or share link what we got <img width="303" height="167" alt="Image" src="https://github.com/user-attachments/assets/502d2007-dd55-4a05-82ed-87c95ec6e79f" /> I expect something like this <img width="325" height="260" alt="Image" src="https://github.com/user-attachments/assets/fa90381e-14b5-43de-876f-67ddc2506140" /> ### Operating System NA ### Terminal NA
yindo added the bug label 2026-02-16 18:10:40 -05:00
yindo closed this issue 2026-02-16 18:10:40 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 6, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #12416: Codex: default vs selected variants show different effective context; support per-variant limits
  • #12355: xhigh reasoning variant unavailable for GPT-5.3 Codex

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 6, 2026): This issue might be a duplicate of existing issues. Please check: - #12416: Codex: default vs selected variants show different effective context; support per-variant limits - #12355: xhigh reasoning variant unavailable for GPT-5.3 Codex Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8721