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

Modify code to implement streaming (for serverless) #42

Open
musashi-garami opened this issue Jul 28, 2023 · 0 comments
Open

Modify code to implement streaming (for serverless) #42

musashi-garami opened this issue Jul 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@musashi-garami
Copy link
Contributor

Feature request

Streaming implementation when hosted on vercel

Is your feature request related to a problem? Please describe.

Vercel Serverless doesn't inherently provide streaming capabilities. So when deploying to vercel the response does not stream in (like it does on local dev environment)

A clear and concise description of what you want and what your use case is.
For the same streaming capabilities I see on local dev to work when hosted on vercel.

Describe the solution you'd like

Vercel Solution
The above appears to be the explanation of how to make streaming work.. However I'm not able to implement this, As we are using this "useCompletion" hook here, so not sure how to modify code to get this to work.

@musashi-garami musashi-garami added the enhancement New feature or request label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant