Ver Fonte

codex should not have reasoning effort

Dax Raad há 6 meses atrás
pai
commit
bd69c5aca8

+ 3 - 0
.opencode/command/commit.md

@@ -7,3 +7,6 @@ core:
 ci:
 ci:
 ignore:
 ignore:
 wip:
 wip:
+
+prefer to explain WHY something was done from an end user perspective instead of
+WHAT was done.

+ 1 - 1
packages/opencode/src/provider/transform.ts

@@ -92,7 +92,7 @@ export namespace ProviderTransform {
     }
     }
 
 
     if (modelID.includes("gpt-5") && !modelID.includes("gpt-5-chat")) {
     if (modelID.includes("gpt-5") && !modelID.includes("gpt-5-chat")) {
-      result["reasoningEffort"] = "medium"
+      if (!modelID.includes("codex")) result["reasoningEffort"] = "medium"
       if (providerID !== "azure") {
       if (providerID !== "azure") {
         result["textVerbosity"] = modelID.includes("codex") ? "medium" : "low"
         result["textVerbosity"] = modelID.includes("codex") ? "medium" : "low"
       }
       }