chore(chatbot): upgrade to Vercel AI SDK v7 / @ai-sdk/react v4#2101
Merged
Conversation
Bump `ai` ^6 -> ^7 and `@ai-sdk/react` ^3 -> ^4 in @object-ui/plugin-chatbot. useChat / DefaultChatTransport / UIMessage usage is source-compatible with v7 — no code changes needed. Type-check clean, build green, 183/183 tests pass. Part of the AI SDK v6->v7 upgrade (framework#2464, cloud#710). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
全组 AI SDK 大版本升级的第三块(配合 framework#2464 已合并、cloud#710)。
改动
@object-ui/plugin-chatbot:ai^6→^7、@ai-sdk/react^3→^4。useChat、DefaultChatTransport、UIMessage/ChatStatus、mapMessagesparts 适配器在 v7 下源码级兼容。验证(本地完整,plugin-chatbot 不依赖 framework)
type-check(tsc --noEmit)0 错误 ✅build(vite + dts)绿 ✅印证了官方"v6→v7 摩擦很小":这块只需 bump 版本号。
🤖 Generated with Claude Code