Closed onurhan1337 closed 5 months ago
Yes, I just replaced my package.json file with the one in this repository to try it out and it worked as expected.
I wonder what could be triggering this? Vercel AI SDK gets frequent updates, could there be an incompatibility there?
@onurhan1337 I had the same issue with AI SDK 3.0^ where the response isn't displayed. Like you, I downgraded the package to 2.2.14 and it worked as expected. Have you ever figured out what changed?
@aattsai, I'm sorry to hear that you're having a similar problem. I've actually looked at the changes, but I still can't figure out what triggers this error, so I'm "forced" to stick with version 2.2.14.
The packages are updated really fast, and when I tried to write the project myself step by step I encountered many new bugs.
Same I stayed on 2.2.14. That's an big problem with vercel/ai package.
Bug report
I developed a similar website by following all the steps. Everything works fine, but there is only one problem that I can't solve, I write a prompt to chat and send it, then it works fine and I get output (can be viewed via Google devtools) but the output generated in the chat UI is not seen.
I didn't add an extra piece of code or do anything different, could it be due to different versions of the packages used? I'm not getting any error.
Describe the bug
Model output does not come to the Chat UI after receiving a response from the request
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
Render the coming response to Chat UI.
Screenshots
System information