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

Provide a way to stop generation #7

Open
eburnette opened this issue Nov 19, 2023 · 2 comments
Open

Provide a way to stop generation #7

eburnette opened this issue Nov 19, 2023 · 2 comments

Comments

@eburnette
Copy link
Contributor

Provide a way to make chatgpt quit generating output. In ChatGPT, it shows a little 'stop' button instead of the 'mail-send' button while the output is in progress.

@uniconnector
Copy link
Owner

have a try

@eburnette
Copy link
Contributor Author

It kind of works but has these problems:

  • If you don't press the stop button it doesn't go away when the output finishes
  • It doesn't cancel the reader (reader.cancel())
  • I'm not sure if the server is still working on the response; we want it to stop processing not just displaying. Calling cancel() might do that, I don't know.
  • This is just a minor problem but the big button at that location is distracting

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