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(conversations): handle empty conversation list gracefully
Steven Enamakel425fa455b2f0
diff --git a/app/src/features/conversations/Conversations.tsx b/app/src/features/conversations/Conversations.tsxindex 65ce97a150..dac62d2b83 100644--- a/app/src/features/conversations/Conversations.tsx+++ b/app/src/features/conversations/Conversations.tsx@@ -528,6 +528,13 @@ const Conversations = ({const sendingTimeoutsRef = useRef<Map<string, ReturnType<typeof setTimeout>>>(new Map());// Ref so the mount-time dictation event handler can call the latest send fn.const handleSendMessageRef = useRef<((text?: string) => Promise<void>) | null>(null);+ // Refs the assistant-ui chat-surface registration binds through. Both target+ // functions are re-created every render; the registration must NOT be, or the+ // registry slot would be rewritten on every keystroke and could be dropped+ // mid-turn. So the effect below depends only on the thread id and reads the+ // latest implementation out of these refs at call time.+ const handleComposerSendRef = useRef<((text?: string) => Promise<void>) | null>(null);+ const handleStopGenerationRef = useRef<(() => void) | null>(null);// Per-thread "turn signature": the last-seen tuple of progress-slice// references [inferenceStatus, streamingAssistant, toolTimeline, taskBoard]// for each thread that owns a live silence timer. Redux Toolkit (immer)