chore: upgrade ai sdk to v7 and google-vertex provider to v5

Removes the express-mode patch for @ai-sdk/google-vertex as API key
authentication via x-goog-api-key is supported natively in v5.
This commit is contained in:
Lucas Smith
2026-08-17 17:15:37 +10:00
parent 093b916362
commit 21a8a63ce4
4 changed files with 93 additions and 1107 deletions
+2 -2
View File
@@ -89,7 +89,7 @@
"zod-prisma-types": "3.3.5"
},
"dependencies": {
"@ai-sdk/google-vertex": "3.0.81",
"@ai-sdk/google-vertex": "5.0.48",
"@documenso/prisma": "*",
"@libpdf/core": "^0.4.1",
"@lingui/conf": "^5.6.0",
@@ -122,7 +122,7 @@
"@radix-ui/react-toggle": "^1.1.14",
"@radix-ui/react-toggle-group": "^1.1.15",
"@radix-ui/react-tooltip": "^1.2.12",
"ai": "^5.0.104",
"ai": "^7.0.58",
"cron-parser": "^5.5.0",
"fflate": "^0.8.3",
"luxon": "^3.7.2",