Skip to content

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

chore: files changed app/src/providers/ChatRuntimeProvider.tsx

Steven Enamakelf6f2a4afdae1
diff --git a/app/src/providers/ChatRuntimeProvider.tsx b/app/src/providers/ChatRuntimeProvider.tsx
index c190cfa525..8dca397f9f 100644
--- a/app/src/providers/ChatRuntimeProvider.tsx
+++ b/app/src/providers/ChatRuntimeProvider.tsx
@@ -1,6 +1,7 @@
import debug from 'debug';
import { useCallback, useEffect, useRef } from 'react';
+import { useFollowupSuggestionEvents } from '../features/conversations/aui/useFollowupSuggestionEvents';
import { useRunQueueEvents } from '../features/conversations/aui/useRunQueueEvents';
import { requestUsageRefresh } from '../hooks/usageRefresh';
import { useRefetchSnapshotOnTurnEnd } from '../hooks/useRefetchSnapshotOnTurnEnd';
@@ -384,6 +385,8 @@ const ChatRuntimeProvider = ({ children }: { children: React.ReactNode }) => {
const socketStatus = useAppSelector(selectSocketStatus);
// The core's run queue (`queue_item_*`) → `queueSlice` → the composer queue.
useRunQueueEvents(socketStatus === 'connected');
+ // The core's `chat_suggestions` → `followupSuggestionsSlice` → follow-up chips.
+ useFollowupSuggestionEvents(socketStatus === 'connected');
const toolTimelineByThread = useAppSelector(state => state.chatRuntime.toolTimelineByThread);
const inferenceStatusByThread = useAppSelector(
state => state.chatRuntime.inferenceStatusByThread