Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions packages/chat-ui/src/chat-workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,16 @@ export function mergeStreamingReply(
): readonly TimelineMessageItem[] {
// A pending reply with no tokens yet stays off the timeline — an
// empty bubble with no timestamp reads as broken; the typing pulse
// in the incoming-message slot owns that phase until the first delta lands.
if (streamingReply === null || streamingReply.text === "") return items;
// in the incoming-message slot owns that phase until the first delta
// lands. A `"replied"` turn renders nothing: its reply is already a
// persisted message.
if (
streamingReply === null ||
streamingReply.phase === "replied" ||
streamingReply.text === ""
) {
return items;
}
const agent = participants.find((participant) =>
isAgentAddress(participant.address),
);
Expand Down
Loading
Loading