mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 20:21:39 +03:00
fix: ensure display: summarized is sent by default for bedrock (#23343)
This commit is contained in:
committed by
GitHub
Unverified
parent
ce7923adaf
commit
e2e7a8d722
@@ -635,6 +635,9 @@ export function variants(model: Provider.Model): Record<string, Record<string, a
|
||||
reasoningConfig: {
|
||||
type: "adaptive",
|
||||
maxReasoningEffort: effort,
|
||||
...(model.api.id.includes("opus-4-7") || model.api.id.includes("opus-4.7")
|
||||
? { display: "summarized" }
|
||||
: {}),
|
||||
},
|
||||
},
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user