Skip to content

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

feat(conversations): add conversation list view

Steven Enamakel57d370443e71
diff --git a/app/src/features/conversations/Conversations.tsx b/app/src/features/conversations/Conversations.tsx
index 5675bbb07b..e23b0dc039 100644
--- a/app/src/features/conversations/Conversations.tsx
+++ b/app/src/features/conversations/Conversations.tsx
@@ -1247,6 +1247,12 @@ const Conversations = ({
// user turn isn't blocked by a stale ref/state.
pendingSendsRef.current.delete(sendingThreadId);
removePendingSendingThread(sendingThreadId);
+ // Stop was pressed while this RPC was in flight, before the core had a
+ // turn to cancel. The turn is registered now, so cancel it for real.
+ if (stopRequestedDuringSendRef.current.delete(sendingThreadId)) {
+ debug('[chat] stop generation: re-issuing Stop pressed during send thread=%s', sendingThreadId);
+ stopThreadTurn(sendingThreadId);
+ }
// Active-thread reset happens in the global ChatRuntimeProvider events.
} catch (err) {