YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: abort Pi agent when navigating away from chat
Louis Beaumontc62e0df41739
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsxindex 72b2fa06a..71d3facd1 100644--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx@@ -2188,6 +2188,10 @@ export function StandaloneChat({ className }: { className?: string } = {}) {unlistenPipeEvent?.();unlistenTerminated?.();unlistenLog?.();+ // Abort any in-flight Pi request when navigating away from chat.+ // Without this, Pi keeps streaming in the background and rejects+ // new messages with "already processing" when the user returns.+ commands.piAbort(PI_CHAT_SESSION).catch(() => {});};// eslint-disable-next-line react-hooks/exhaustive-deps}, []);