mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 22:10:23 +00:00
fix: dont set reasoning effort to medium for gpt-5-pro (#3474)
This commit is contained in:
parent
0e65700183
commit
a606e1d2ec
1 changed files with 3 additions and 1 deletions
|
|
@ -92,7 +92,9 @@ export namespace ProviderTransform {
|
|||
}
|
||||
|
||||
if (modelID.includes("gpt-5") && !modelID.includes("gpt-5-chat")) {
|
||||
if (!modelID.includes("codex")) result["reasoningEffort"] = "medium"
|
||||
if (!modelID.includes("codex") && !modelID.includes("gpt-5-pro")) {
|
||||
result["reasoningEffort"] = "medium"
|
||||
}
|
||||
|
||||
if (providerID !== "azure") {
|
||||
result["textVerbosity"] = modelID.includes("codex") ? "medium" : "low"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue