Support for format: 'aisdk' in streamVNext for mastra/client-js
It appears that
{ format: 'aisdk' } is not supported in client-js.9 Replies
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/7196
GitHub
[DISCORD:1410884301402279947] Support for format: 'aisdk' in stream...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1410884301402279947 It appears that { format: 'aisdk' } is not supported in client-js.
I'm thinking we will create a custom endpoin for this with a custom package so you can use useChat immediatly
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
we have it on alpha, it will go out today
you can install @mastra/ai-sdk@alpha now
@Ward Thanks!
Is it not supported via client-js?
My architecture is as shown in the image below, so it would be preferable if the ai-sdk format could be used with client-js.
https://discord.com/channels/1309558646228779139/1378973340097712158/1379277104386015232
we will deprecate the format soon and only allow through the extra plugin. We'll add the ability to extend client-js or do raw requests
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
chatRoute({
path: '/chat/:agentId',
agent: "athenaAI",
}),
should allow you to use things like useChat, or call it yourself with fetch. I'll see if I can squeeze this change in
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View