Skip to content

Commit 1eba3ab

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)