chore: upgrade AI SDK from beta to stable v6

- ai: 6.0.0-beta.124 → 6.0.3
- @ai-sdk/openai: 3.0.0-beta.74 → 3.0.1
- @ai-sdk/react: 3.0.0-beta.131 → 3.0.3

Breaking changes addressed:
- CoreMessage renamed to ModelMessage
- convertToModelMessages is now async (added await)
This commit is contained in:
Ajax Davis 2025-12-28 16:17:41 +10:00
parent 421405eee0
commit 9855425be4
5 changed files with 81 additions and 95 deletions

View file

@ -11,7 +11,7 @@
"clean": "rm -rf .next .turbo"
},
"dependencies": {
"@ai-sdk/openai": "3.0.0-beta.74",
"@ai-sdk/openai": "3.0.1",
"@tpmjs/db": "workspace:*",
"@tpmjs/env": "workspace:*",
"@tpmjs/npm-client": "workspace:*",
@ -22,7 +22,7 @@
"@types/d3": "^7.4.3",
"@types/react-syntax-highlighter": "^15.5.13",
"@vercel/analytics": "^1.6.1",
"ai": "6.0.0-beta.124",
"ai": "6.0.3",
"bm25": "^0.1.1",
"d3": "^7.9.0",
"next": "^16.0.8",