Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/api/chat returns correct data but nothing is rendered on interface #1

Closed
cheraff opened this issue Apr 13, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@cheraff
Copy link

cheraff commented Apr 13, 2024

Great work, so much so I wanted to give this a role myself - ran into some issues.

  1. When I followed the instructions in README the build process on cloudflare application creation returns a wrangler file error, suggesting something about a build directory missing, when added, it gets ignored and continues to fail.

  2. When I install manually everything gets setup correctly and the /api/chat endpoint correctly returns replies to questions, however they are not actually rendered on the interface like in your demo

A few of your packages were outdated, I tried with new versions, and again with your versions. Same issues.

No idea what's causing this.

Video for your reference: https://youtu.be/R5axUE_lgUs

@letrieu
Copy link
Owner

letrieu commented Apr 14, 2024

It is a breaking change for StreamingTextResponse from vercel/ai version 3.0.20
Same issue in: #1306 3.0.20 create a breaking change for StreamingTextResponse
I fixed this issue in commit: 925241c

@letrieu letrieu closed this as completed Apr 14, 2024
@letrieu letrieu added the bug Something isn't working label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants