streamText works on local machine, but when I deployed my site on vercel, then it is not working #4215
Unanswered
WiTheR60334
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
I am making a travel chatbot using gemini, and it is working perfectly on local machine without any error. But when I had deployed it on vercel then it is not working.
Chatbot SS on local machine :
Chatbot SS when deployed :
Vercel Logs SS :
As you can see in Vercel Logs, the "hi" query is received without any error, but the response from chatbot is not working. I have tried to console log the response, but it is empty.
I have also added below code in ./layout.jsx and page.jsx , but still there is no response from chatbot.
I have referred to #1519 and https://sdk.vercel.ai/docs/troubleshooting/streaming-not-working-on-vercel , but still same problem is there, it is not resolving.
Github Repo : https://github.com/WiTheR60334/TrippoBot2
Beta Was this translation helpful? Give feedback.
All reactions