From b5e8160b7f7a0e7eb6879c685117ad6e516729e0 Mon Sep 17 00:00:00 2001 From: "estevez.sebastian@gmail.com" Date: Mon, 11 Aug 2025 22:05:00 -0400 Subject: [PATCH] linter fix --- frontend/src/app/chat/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/chat/page.tsx b/frontend/src/app/chat/page.tsx index 8ec9d28b..87bcba97 100644 --- a/frontend/src/app/chat/page.tsx +++ b/frontend/src/app/chat/page.tsx @@ -508,7 +508,7 @@ function ChatPage() { console.log("Tool call done with results:", chunk.item) // Find existing function call by ID, or by name/type if ID not available - let functionCall = currentFunctionCalls.find(fc => + const functionCall = currentFunctionCalls.find(fc => fc.id === chunk.item.id || (fc.name === chunk.item.tool_name) || (fc.name === chunk.item.name) ||