mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 13:19:16 +00:00
Add cancellation support to research mode via asyncio.Event
This commit is contained in:
@@ -241,8 +241,7 @@ export default function Chat() {
|
||||
handleAbortedMessage();
|
||||
setTriggeredAbort(false);
|
||||
}
|
||||
}),
|
||||
[triggeredAbort];
|
||||
}, [triggeredAbort]);
|
||||
|
||||
useEffect(() => {
|
||||
if (queryToProcess) {
|
||||
|
||||
Reference in New Issue
Block a user