From 2ce58efe9c4a0bcb773b5a12f8af07920ba75d97 Mon Sep 17 00:00:00 2001 From: xKevIsDev Date: Fri, 25 Jul 2025 01:23:32 +0100 Subject: [PATCH] refactor: update styling and structure in ToolInvocations and ToolCallsList components - Changed background classes for better visual consistency. - Simplified the structure of ToolCallsList, enhancing readability and layout. - Improved button styles for better user interaction and accessibility. --- app/components/chat/ToolInvocations.tsx | 70 ++++++------------------- 1 file changed, 16 insertions(+), 54 deletions(-) diff --git a/app/components/chat/ToolInvocations.tsx b/app/components/chat/ToolInvocations.tsx index e61a8e0..280543f 100644 --- a/app/components/chat/ToolInvocations.tsx +++ b/app/components/chat/ToolInvocations.tsx @@ -105,14 +105,14 @@ export const ToolInvocations = memo(({ toolInvocations, toolCallAnnotations, add
- Calling MCP tool{' '} - +
+
+
+ {toolName} + + {annotation?.toolDescription} +
- {expanded[toolCallId] && ( -
-
-
-
- Description:{' '} - - {annotation?.toolDescription} - -
-
-
- -
-
-
-
- )} -
+