diff options
| author | Aiden Cline <[email protected]> | 2026-01-21 13:23:04 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2026-01-21 13:23:04 -0600 |
| commit | 6f7a1c69a517b6f46e7b7c18b69fc38fa7aaa10f (patch) | |
| tree | 2cfeb36fa112edf2542a34c09268547118eca6f3 | |
| parent | 13405aedea6e9e3b617bb131a90f0ad05f16baf3 (diff) | |
| download | opencode-6f7a1c69a517b6f46e7b7c18b69fc38fa7aaa10f.tar.gz opencode-6f7a1c69a517b6f46e7b7c18b69fc38fa7aaa10f.zip | |
tweak: adjust textVerbosity and reasoningEffort defaults to better match codex cli
| -rw-r--r-- | packages/opencode/src/provider/transform.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/opencode/src/provider/transform.ts b/packages/opencode/src/provider/transform.ts index 02fdffa00..6148b66b5 100644 --- a/packages/opencode/src/provider/transform.ts +++ b/packages/opencode/src/provider/transform.ts @@ -580,15 +580,15 @@ export namespace ProviderTransform { } if (input.model.api.id.includes("gpt-5") && !input.model.api.id.includes("gpt-5-chat")) { - if (input.model.providerID.includes("codex")) { - result["store"] = false - } - - if (!input.model.api.id.includes("codex") && !input.model.api.id.includes("gpt-5-pro")) { + if (!input.model.api.id.includes("gpt-5-pro")) { result["reasoningEffort"] = "medium" } - if (input.model.api.id.endsWith("gpt-5.") && input.model.providerID !== "azure") { + if ( + input.model.api.id.includes("gpt-5.") && + !input.model.api.id.includes("codex") && + input.model.providerID !== "azure" + ) { result["textVerbosity"] = "low" } |
