fix: clear abortControllerRef after EAGER_CANCEL interrupt (#305)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2025-12-18 14:00:37 -08:00
committed by GitHub
parent 1355c44dbc
commit 290a385552

View File

@@ -1450,6 +1450,7 @@ export default function App({
// Abort the stream via abort signal
if (abortControllerRef.current) {
abortControllerRef.current.abort();
abortControllerRef.current = null; // Clear ref so isAgentBusy() returns false
}
// Set cancellation flag to prevent processConversation from starting