mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-11 21:41:36 +00:00
feat(opencode): use reasoning summary auto for gpt-5 models that are not chat (#12502)
This commit is contained in:
parent
918795d868
commit
a25cd2da72
1 changed files with 1 additions and 0 deletions
|
|
@ -646,6 +646,7 @@ export namespace ProviderTransform {
|
|||
if (input.model.api.id.includes("gpt-5") && !input.model.api.id.includes("gpt-5-chat")) {
|
||||
if (!input.model.api.id.includes("gpt-5-pro")) {
|
||||
result["reasoningEffort"] = "medium"
|
||||
result["reasoningSummary"] = "auto"
|
||||
}
|
||||
|
||||
// Only set textVerbosity for non-chat gpt-5.x models
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue