opencode-agent[bot] 1 месяц назад
Родитель
Сommit
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") ||