From 62dc05e36a79b6f0036ad61a9b19de44c338bb08 Mon Sep 17 00:00:00 2001 From: Ramnique Singh <30795890+ramnique@users.noreply.github.com> Date: Wed, 16 Jul 2025 00:01:52 +0530 Subject: [PATCH] agents.ts: return all msg types in sync mode --- apps/rowboat/app/lib/agents.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/rowboat/app/lib/agents.ts b/apps/rowboat/app/lib/agents.ts index d4c3bb2e..145b14a3 100644 --- a/apps/rowboat/app/lib/agents.ts +++ b/apps/rowboat/app/lib/agents.ts @@ -1209,7 +1209,7 @@ export async function getResponse( }, }; for await (const event of streamResponse(workflow, projectTools, messages)) { - if ('role' in event && event.role === 'assistant') { + if ('role' in event) { out.push(event); } if ('tokens' in event) {