Skip to content

Commit e2e7a8d

Browse files
authored
fix: ensure display: summarized is sent by default for bedrock (#23343)
1 parent ce7923a commit e2e7a8d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/opencode/src/provider/transform.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,9 @@ export function variants(model: Provider.Model): Record<string, Record<string, a
635635
reasoningConfig: {
636636
type: "adaptive",
637637
maxReasoningEffort: effort,
638+
...(model.api.id.includes("opus-4-7") || model.api.id.includes("opus-4.7")
639+
? { display: "summarized" }
640+
: {}),
638641
},
639642
},
640643
]),

0 commit comments

Comments
 (0)