From e99f31d2b776711fd912bb4974f0254abda5f008 Mon Sep 17 00:00:00 2001 From: Ramnique Singh <30795890+ramnique@users.noreply.github.com> Date: Tue, 29 Apr 2025 02:18:16 +0530 Subject: [PATCH] render agent transfers and tool results in realtime --- .../app/projects/[projectId]/playground/components/chat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/rowboat/app/projects/[projectId]/playground/components/chat.tsx b/apps/rowboat/app/projects/[projectId]/playground/components/chat.tsx index 42c46dc2..f556d5cc 100644 --- a/apps/rowboat/app/projects/[projectId]/playground/components/chat.tsx +++ b/apps/rowboat/app/projects/[projectId]/playground/components/chat.tsx @@ -75,7 +75,7 @@ export function Chat({ // collect published tool call results const toolCallResults: Record> = {}; - messages + optimisticMessages .filter((message) => message.role == 'tool') .forEach((message) => { toolCallResults[message.tool_call_id] = message;