Skip to content

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

fix(timeline): restore missing conversation messages

Steven Enamakel8f91f836776f
diff --git a/app/src/features/conversations/timeline/ConversationTimeline.tsx b/app/src/features/conversations/timeline/ConversationTimeline.tsx
index 7ab6dff727..aafcc33300 100644
--- a/app/src/features/conversations/timeline/ConversationTimeline.tsx
+++ b/app/src/features/conversations/timeline/ConversationTimeline.tsx
@@ -81,6 +81,7 @@ export function ConversationTimeline({
key={item.id}
text={item.text}
thinking={item.thinking}
+ thinkingStartedAt={item.thinkingStartedAt}
branch={item.branch}
/>
);
diff --git a/app/src/features/conversations/timeline/selectors.ts b/app/src/features/conversations/timeline/selectors.ts
index d6ae1016d6..cac4360b35 100644
--- a/app/src/features/conversations/timeline/selectors.ts
+++ b/app/src/features/conversations/timeline/selectors.ts
@@ -156,6 +156,9 @@ export function buildThreadTimeline(input: BuildThreadTimelineInput): TimelineIt
threadId,
text: streaming.content,
thinking: streaming.thinking.length > 0 ? streaming.thinking : undefined,
+ ...(streaming.thinkingStartedAt !== undefined
+ ? { thinkingStartedAt: streaming.thinkingStartedAt }
+ : {}),
streamId: streaming.requestId,
branch: false,
});
diff --git a/app/src/features/conversations/timeline/types.ts b/app/src/features/conversations/timeline/types.ts
index b822513340..3e3219d4f7 100644
--- a/app/src/features/conversations/timeline/types.ts
+++ b/app/src/features/conversations/timeline/types.ts
@@ -45,6 +45,8 @@ export type TimelineItem = TimelineItemBase &
kind: 'streamingText';
text: string;
thinking?: string;
+ /** Epoch ms of the stream's first thinking delta (live elapsed badge). */
+ thinkingStartedAt?: number;
/** `requestId` of the stream; distinguishes the primary from branches. */
streamId?: string;
/** True for a `parallelStreamsByThread` forked branch. */