mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-09 03:58:51 +01:00
merge from dannya
feat: support unfinished messages.
This commit is contained in:
parent
bbf2f8a6ca
commit
a5a0eab7f7
15 changed files with 308 additions and 221 deletions
|
|
@ -142,8 +142,7 @@ const useMessageHandler = () => {
|
|||
};
|
||||
|
||||
const stopGenerating = () => {
|
||||
// setSubmission(null);
|
||||
setSubmission(prev => ({ ...prev, cancel: true }));
|
||||
setSubmission(null);
|
||||
};
|
||||
|
||||
return { ask, regenerate, stopGenerating };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue