Explorar el Código

fix: vercel gateway options

Aiden Cline hace 9 meses
padre
commit
25678fa504
Se han modificado 1 ficheros con 4 adiciones y 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,