Quellcode durchsuchen

fix(opencode): default Meta reasoning to xhigh (#36976)

Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
opencode-agent[bot] vor 1 Monat
Ursprung
Commit
b6478dcebf
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      packages/opencode/src/provider/transform.ts

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

@@ -1150,7 +1150,7 @@ export function options(input: {
   }
   }
 
 
   if (input.model.providerID === "meta" && input.model.api.npm === "@ai-sdk/openai") {
   if (input.model.providerID === "meta" && input.model.api.npm === "@ai-sdk/openai") {
-    result["reasoningEffort"] = "high"
+    result["reasoningEffort"] = "xhigh"
     result["reasoningSummary"] = "auto"
     result["reasoningSummary"] = "auto"
     result["include"] = INCLUDE_ENCRYPTED_REASONING
     result["include"] = INCLUDE_ENCRYPTED_REASONING
   }
   }