From eb225636b423246c836b3a92a5fe3f20b8f2d6e1 Mon Sep 17 00:00:00 2001 From: Aryan Keluskar Date: Sat, 18 Oct 2025 22:40:43 -0700 Subject: [PATCH 1/2] feat(chat): increase maxSteps to allow multiple tool-calling rounds --- apps/web/components/views/chat/chat-messages.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/views/chat/chat-messages.tsx b/apps/web/components/views/chat/chat-messages.tsx index b281f7a8..16ff08af 100644 --- a/apps/web/components/views/chat/chat-messages.tsx +++ b/apps/web/components/views/chat/chat-messages.tsx @@ -247,7 +247,7 @@ export function ChatMessages() { }, }, }), - maxSteps: 2, + maxSteps: 10, // Allow multiple tool-calling rounds onFinish: (result) => { const activeId = activeChatIdRef.current if (!activeId) return From 0a96aff86d4758b472732ddba928f73491ad690c Mon Sep 17 00:00:00 2001 From: Mahesh Sanikommu Date: Sat, 18 Oct 2025 23:07:27 -0700 Subject: [PATCH 2/2] Fix formatting in chat-messages.tsx --- apps/web/components/views/chat/chat-messages.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/views/chat/chat-messages.tsx b/apps/web/components/views/chat/chat-messages.tsx index 16ff08af..9ee6aa2f 100644 --- a/apps/web/components/views/chat/chat-messages.tsx +++ b/apps/web/components/views/chat/chat-messages.tsx @@ -247,7 +247,7 @@ export function ChatMessages() { }, }, }), - maxSteps: 10, // Allow multiple tool-calling rounds + maxSteps: 10, onFinish: (result) => { const activeId = activeChatIdRef.current if (!activeId) return