mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
codex should not have reasoning effort
This commit is contained in:
parent
6a7eeb39c3
commit
bd69c5aca8
2 changed files with 4 additions and 1 deletions
|
|
@ -7,3 +7,6 @@ core:
|
|||
ci:
|
||||
ignore:
|
||||
wip:
|
||||
|
||||
prefer to explain WHY something was done from an end user perspective instead of
|
||||
WHAT was done.
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ export namespace ProviderTransform {
|
|||
}
|
||||
|
||||
if (modelID.includes("gpt-5") && !modelID.includes("gpt-5-chat")) {
|
||||
result["reasoningEffort"] = "medium"
|
||||
if (!modelID.includes("codex")) result["reasoningEffort"] = "medium"
|
||||
if (providerID !== "azure") {
|
||||
result["textVerbosity"] = modelID.includes("codex") ? "medium" : "low"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue