Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(assistant-ui): remove stray observer cleanup from thread root

Steven Enamakel414b99a7ac86
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index bf87e0e291..2bf0f5ef44 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -431,9 +431,6 @@ const ThreadRoot: FC<{
ActiveTasks,
} = useContext(ThreadComponentsContext);
const { isDraggingFiles, dropHandlers } = useThreadFileDrop();
- return () => observer.disconnect();
- }, []);
-
return (
<ThreadPrimitive.Root
className="aui-root aui-thread-root bg-background @container flex h-full flex-col"