From 0a30829d753209c2af2f23a0c0c1c03ba7315500 Mon Sep 17 00:00:00 2001 From: phact 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) ||