Browse Source

fix codex errors

Dax Raad 5 months ago
parent
commit
71b43fd02e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      packages/opencode/src/provider/transform.ts

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

@@ -92,14 +92,14 @@ export namespace ProviderTransform {
     }
 
     if (modelID.includes("gpt-5") && !modelID.includes("gpt-5-chat")) {
-      result["reasoningEffort"] = "high"
+      result["reasoningEffort"] = "medium"
       if (providerID !== "azure") {
-        result["textVerbosity"] = "low"
+        result["textVerbosity"] = modelID.includes("codex") ? "medium" : "low"
       }
       if (providerID === "opencode") {
         result["promptCacheKey"] = sessionID
         // result["include"] = ["reasoning.encrypted_content"]
-        // result["reasoningSummary"] = "detailed"
+        // result["reasoningSummary"] = "auto"
       }
     }
     return result