Explorar o código

fix: vercel gateway options

Aiden Cline hai 3 meses
pai
achega
25678fa504
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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,