Skip to content

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

fix(liveHistoryParity): correct test to expect no history for empty live query

Steven Enamakel5f0b9bdcc107
diff --git a/app/src/providers/__tests__/liveHistoryParity.test.tsx b/app/src/providers/__tests__/liveHistoryParity.test.tsx
index 9ba8766b24..0baff54a74 100644
--- a/app/src/providers/__tests__/liveHistoryParity.test.tsx
+++ b/app/src/providers/__tests__/liveHistoryParity.test.tsx
@@ -123,8 +123,8 @@ function project(): ThreadMessageLike[] {
liveTimeline: runtime.toolTimelineByThread[TURN_THREAD] ?? [],
liveTranscript: runtime.processingByThread[TURN_THREAD] ?? [],
pendingApproval: runtime.pendingApprovalByThread[TURN_THREAD] ?? null,
- settledTurns: runtime.settledTurnsByThread[TURN_THREAD] ?? {},
- liveRequestId: runtime.liveRequestIdByThread[TURN_THREAD] ?? streaming?.requestId,
+ settledTurns: runtime.settledTurnsByThread?.[TURN_THREAD] ?? {},
+ liveRequestId: runtime.liveRequestIdByThread?.[TURN_THREAD] ?? streaming?.requestId,
});
}