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

Add a way to exit chat request early from the chat UI #508

Open
sabaimran opened this issue Oct 19, 2023 · 1 comment
Open

Add a way to exit chat request early from the chat UI #508

sabaimran opened this issue Oct 19, 2023 · 1 comment
Labels
upgrade New feature or request

Comments

@sabaimran
Copy link
Collaborator

The local llama chat response can take minutes sometimes. If you want to update the request and tweak it, then this can mean a lot of waiting in order to retry your request. Add some way to send an interrupt signal from the UI to cancel the request.

See relevant discussion on Discord.

@sabaimran sabaimran added the upgrade New feature or request label Oct 19, 2023
@sabaimran
Copy link
Collaborator Author

sabaimran commented Oct 23, 2023

Mini-update. I looked into this today and found that gpt4all only supports shortcircuiting the model response after tokens have already started emitting. So, you can't stop it from 'thinking', so to speak, once it's already been given a query. To that end, I'll update the UI so that you can cancel the query once tokens are being spit out, but not before then.

Hopefully the time to first token issue will be less of a headache for folks using Mistral. That'll become the default model (see commit 0f1ebca) in the next release.

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

Successfully merging a pull request may close this issue.

1 participant