The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(assistant-ui): handle empty thread state on initial render
Steven Enamakel00522e5d9f5e
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsxindex d1578b92de..4626208eea 100644--- a/app/src/components/assistant-ui/thread.tsx+++ b/app/src/components/assistant-ui/thread.tsx@@ -617,7 +617,7 @@ function useFollowBottom(// viewport itself (its scrollbar).let userIntentAt = Number.NEGATIVE_INFINITY;const markIntent = () => {- userIntentAt = performance.now();+ userIntentAt = window.performance.now();};const onKeyDown = (event: KeyboardEvent) => {if (SCROLL_KEYS.has(event.key)) markIntent();@@ -631,7 +631,7 @@ function useFollowBottom(followRef.current = true;} else if (viewport.scrollTop < lastScrollTopRef.current &&- performance.now() - userIntentAt <= USER_SCROLL_INTENT_WINDOW_MS+ window.performance.now() - userIntentAt <= USER_SCROLL_INTENT_WINDOW_MS) {followRef.current = false;}