Browse Source

fix: vercel gateway options

Aiden Cline 9 months ago
parent
commit
25678fa504
1 changed files with 4 additions and 0 deletions
  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 {
           ["anthropic" as string]: options,
         }
+      case "@ai-sdk/gateway":
+        return {
+          ["gateway" as string]: options,
+        }
       default:
         return {
           [providerID]: options,