Skip to content

Commit d800c97

Browse files
scratchmexBryceRyan
authored andcommitted
feat(opencode): use reasoning summary auto for gpt-5 models that are not chat (anomalyco#12502)
1 parent ff74cda commit d800c97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/opencode/src/provider/transform.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@ export namespace ProviderTransform {
646646
if (input.model.api.id.includes("gpt-5") && !input.model.api.id.includes("gpt-5-chat")) {
647647
if (!input.model.api.id.includes("gpt-5-pro")) {
648648
result["reasoningEffort"] = "medium"
649+
result["reasoningSummary"] = "auto"
649650
}
650651

651652
// Only set textVerbosity for non-chat gpt-5.x models

0 commit comments

Comments
 (0)