瀏覽代碼

chore: generate

opencode-agent[bot] 8 月之前
父節點
當前提交
686dd330a0
共有 1 個文件被更改,包括 3 次插入 和 1 次删除
  1. 3 1
      packages/opencode/src/provider/transform.ts

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

@@ -333,7 +333,9 @@ export namespace ProviderTransform {
     if (!model.capabilities.reasoning) return {}
 
     const id = model.id.toLowerCase()
-    const isAnthropicAdaptive = ["opus-4-6", "opus-4.6", "sonnet-4-6", "sonnet-4.6"].some((v) => model.api.id.includes(v))
+    const isAnthropicAdaptive = ["opus-4-6", "opus-4.6", "sonnet-4-6", "sonnet-4.6"].some((v) =>
+      model.api.id.includes(v),
+    )
     const adaptiveEfforts = ["low", "medium", "high", "max"]
     if (
       id.includes("deepseek") ||