Skip to content

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

fix(chat): handle missing runtime in ChatRuntimeProvider

Steven Enamakel2859757c5fc3
diff --git a/app/src/providers/ChatRuntimeProvider.tsx b/app/src/providers/ChatRuntimeProvider.tsx
index 68fce1ebe6..9f430b9dd0 100644
--- a/app/src/providers/ChatRuntimeProvider.tsx
+++ b/app/src/providers/ChatRuntimeProvider.tsx
@@ -13,6 +13,7 @@ import { maybeParseWorkflowProposalTool } from '../lib/workflows/workflowProposa
import {
type ChatApprovalRequestEvent,
type ChatDoneEvent,
+ type ChatEventListeners,
type ChatInferenceHeartbeatEvent,
type ChatInferenceStartEvent,
type ChatInterimEvent,
@@ -22,12 +23,14 @@ import {
type ChatSubagentDoneEvent,
type ChatSubagentTextDeltaEvent,
type ChatSubagentThinkingDeltaEvent,
+ type ChatTextDeltaEvent,
type ChatToolCallEvent,
type ChatToolResultEvent,
type ProactiveMessageEvent,
segmentText,
subscribeChatEvents,
} from '../services/chatService';
+import { withCoalescedDeltas } from '../services/chatDeltaCoalescer';
import { socketService } from '../services/socketService';
import { store } from '../store';
import {