Vercel AI SDK migration to V5 (#3223)

Co-authored-by: Saket Aryan <94069182+whysosaket@users.noreply.github.com>
This commit is contained in:
Parshva Daftari
2025-08-05 20:27:57 +05:30
committed by GitHub
co-authored by Saket Aryan
parent 42e60d6724
commit 0e18f54d36
23 changed files with 321 additions and 423 deletions
+10 -10
View File
@@ -1,6 +1,6 @@
{
"name": "@mem0/vercel-ai-provider",
"version": "1.0.7",
"version": "2.0.0",
"description": "Vercel AI Provider for providing memory to LLMs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
@@ -26,18 +26,18 @@
"author": "Saket Aryan <saketaryan2002@gmail.com>",
"license": "Apache-2.0",
"dependencies": {
"@ai-sdk/anthropic": "1.1.12",
"@ai-sdk/cohere": "1.1.12",
"@ai-sdk/google": "1.2.18",
"@ai-sdk/groq": "1.1.11",
"@ai-sdk/openai": "1.1.15",
"@ai-sdk/provider": "1.0.9",
"@ai-sdk/provider-utils": "2.1.10",
"ai": "4.1.46",
"@ai-sdk/anthropic": "2.0.0",
"@ai-sdk/cohere": "2.0.0",
"@ai-sdk/google": "2.0.1",
"@ai-sdk/groq": "2.0.1",
"@ai-sdk/openai": "2.0.2",
"@ai-sdk/provider": "2.0.0",
"@ai-sdk/provider-utils": "3.0.0",
"ai": "5.0.2",
"dotenv": "^16.4.5",
"mem0ai": "^2.1.12",
"partial-json": "0.1.7",
"zod": "^3.0.0"
"zod": "^3.25.0"
},
"devDependencies": {
"@edge-runtime/vm": "^3.2.0",