Skip to content

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

@scratchmex

Description

@scratchmex

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

if (input.model.providerID.startsWith("opencode")) {
result["promptCacheKey"] = input.sessionID
result["include"] = ["reasoning.encrypted_content"]
result["reasoningSummary"] = "auto"
}

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions