You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I forked this repo and created some small projects that use NextJS13 and Vercel edge runtime to communicate with openAI API.
In particular I'm using the OpenAIStream from this repo.
While everything works well in localhost, I'm constantly getting timeout errors in production.
I also deployed this project as is, though.
One possible issue might be that I've tweaked the max_tokens parameter to allow longer prompts and responses.
Overall, the problem is that I'm unable to debug what's going wrong in OpenAIStream at runtime.
I forked this repo and created some small projects that use NextJS13 and Vercel edge runtime to communicate with openAI API.
In particular I'm using the
OpenAIStream
from this repo.While everything works well in localhost, I'm constantly getting timeout errors in production.
I also deployed this project as is, though.
One possible issue might be that I've tweaked the
max_tokens
parameter to allow longer prompts and responses.Overall, the problem is that I'm unable to debug what's going wrong in
OpenAIStream
at runtime.I naively tried
But I'm not getting any output in the vercel log
Any suggestion?
The text was updated successfully, but these errors were encountered: