Skip to content

The open source coding agent.

TypeScript

codex should not have reasoning effort

Dax Raadbd69c5aca834
diff --git a/.opencode/command/commit.md b/.opencode/command/commit.md
index 53df06b04a4..f2038b2a626 100644
--- a/.opencode/command/commit.md
+++ b/.opencode/command/commit.md
@@ -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.
diff --git a/packages/opencode/src/provider/transform.ts b/packages/opencode/src/provider/transform.ts
index 3232a5f1788..920699a2b3f 100644
--- a/packages/opencode/src/provider/transform.ts
+++ b/packages/opencode/src/provider/transform.ts
@@ -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"
}