mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix: allow query submission abort (#392)
This commit is contained in:
@@ -192,6 +192,7 @@ export const useGeminiStream = (
|
||||
return;
|
||||
}
|
||||
turnCancelledRef.current = true;
|
||||
isSubmittingQueryRef.current = false;
|
||||
abortControllerRef.current?.abort();
|
||||
if (pendingHistoryItemRef.current) {
|
||||
addItem(pendingHistoryItemRef.current, Date.now());
|
||||
|
||||
Reference in New Issue
Block a user