-
-
Notifications
You must be signed in to change notification settings - Fork 702
Open
Labels
needs-triageIssue has not yet been reviewed or classified by maintainers.Issue has not yet been reviewed or classified by maintainers.
Description
What’s broken?
When using sendMessageWithAIRequest along with useChat and chatProvider I am seeing the following error:
e.~registerMessagesCallback is not a function
I am using this to build the AI Request:
const aiRequest = await buildAIRequest({
editor: editor,
useSelection: true,
});
I am currently using:
"@ai-sdk/react": "^3.0.143",
"@blocknote/core": "^0.47.1",
"@blocknote/react": "^0.47.1",
"@blocknote/shadcn": "^0.47.1",
"@blocknote/xl-ai": "^0.47.1",
Could this be a version issue between BlockNote and Vercel AI SDK?
Does BlockNote support AI SDK version 6?
What did you expect to happen?
To have control over sending messages and handling responses outside of the AIExtension with Versel AI SDK V6.
Steps to reproduce
No response
BlockNote version
0.47.1
Environment
Chrome, MacOS
Additional context
No response
Contribution
- I'd be interested in contributing a fix for this issue
Sponsor
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs-triageIssue has not yet been reviewed or classified by maintainers.Issue has not yet been reviewed or classified by maintainers.