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

how to enable output streaming ? #1

Open
yonnic opened this issue Apr 15, 2023 · 1 comment
Open

how to enable output streaming ? #1

yonnic opened this issue Apr 15, 2023 · 1 comment

Comments

@yonnic
Copy link

yonnic commented Apr 15, 2023

By default the API returns the whole message if its done processing which takes a while depending on length.
the chatGPT interface outputs the message in a stream which is possible in the api by proving the stream: true parameter in the body. I tried to add the parameter but the app breaks.

Any quick way to switch to streaming output ?

@kylebuildsstuff
Copy link
Owner

Sorry I missed this issue, but I don't think it's supported right now. The site just does a normal fetch and plops the response in the UI. I'm not exactly sure what would be needed to support streamed responses the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants