Преглед изворни кода

fix: vercel gateway options

Aiden Cline пре 4 месеци
родитељ
комит
25678fa504
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      packages/opencode/src/provider/transform.ts

+ 4 - 0
packages/opencode/src/provider/transform.ts

@@ -177,6 +177,10 @@ export namespace ProviderTransform {
         return {
         return {
           ["anthropic" as string]: options,
           ["anthropic" as string]: options,
         }
         }
+      case "@ai-sdk/gateway":
+        return {
+          ["gateway" as string]: options,
+        }
       default:
       default:
         return {
         return {
           [providerID]: options,
           [providerID]: options,