Annotations are not showing up at all #4471
Unanswered
DonaldNgai
asked this question in
Help
Replies: 1 comment 3 replies
-
From which example is this taken? Please check out https://sdk.vercel.ai/docs/ai-sdk-ui/streaming-data#sending-custom-data-from-the-server (in particular |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just upgraded to 4.1 from 3.1 and it's been behaving super unexpectedly.
Here is what I am finding with the following code
Server:
Client:
Even this simple code isn't working.
4.
import { MockLanguageModelV1 } from 'ai/test';
is now broken as well. When it is imported to use to help test, it now will have a runtime error as it still tries to import @ai-sdk/provider-utils/test which is not used in 4.0 anymore.This is extremely frustrating as a developer to have a major update like this pretty much break everything.
If anyone has any insights, it'll be greatly appreciated. All of this is taken from the latest documentation. The code is taken from the examples given.
Beta Was this translation helpful? Give feedback.
All reactions