mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-11 05:01:04 +00:00
fix: ensure display: summarized is sent by default for bedrock (#23343)
This commit is contained in:
parent
ce7923adaf
commit
e2e7a8d722
1 changed files with 3 additions and 0 deletions
|
|
@ -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" }
|
||||
: {}),
|
||||
},
|
||||
},
|
||||
]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue