mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 22:23:59 +01:00
parent
21da7342eb
commit
9fedb3f169
|
@ -89,6 +89,8 @@ const useSubmit = () => {
|
|||
} else {
|
||||
reader.cancel('Generation completed');
|
||||
}
|
||||
reader.releaseLock();
|
||||
stream.cancel();
|
||||
}
|
||||
} catch (e: unknown) {
|
||||
const err = (e as Error).message;
|
||||
|
|
Loading…
Reference in a new issue