From 7551332c014fc13016c054256a9a3517cc83025a Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 16 Feb 2026 19:24:43 -0700 Subject: [PATCH] Improvements to UI --- web/public/locales/en/views/chat.json | 4 +++- web/src/components/chat/ToolCallBubble.tsx | 24 +++++++++++++++------- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/web/public/locales/en/views/chat.json b/web/public/locales/en/views/chat.json index 152a8210a..674e630a3 100644 --- a/web/public/locales/en/views/chat.json +++ b/web/public/locales/en/views/chat.json @@ -6,5 +6,7 @@ "showTools": "Show tools ({{count}})", "hideTools": "Hide tools", "call": "Call", - "result": "Result" + "result": "Result", + "arguments": "Arguments:", + "response": "Response:" } diff --git a/web/src/components/chat/ToolCallBubble.tsx b/web/src/components/chat/ToolCallBubble.tsx index 05c39ae2a..64bc0fbb9 100644 --- a/web/src/components/chat/ToolCallBubble.tsx +++ b/web/src/components/chat/ToolCallBubble.tsx @@ -6,6 +6,7 @@ import { CollapsibleTrigger, } from "@/components/ui/collapsible"; import { Button } from "@/components/ui/button"; +import { cn } from "@/lib/utils"; import { ChevronDown, ChevronRight } from "lucide-react"; type ToolCallBubbleProps = { @@ -43,10 +44,17 @@ export function ToolCallBubble({ @@ -55,16 +63,18 @@ export function ToolCallBubble({
{isLeft && args && Object.keys(args).length > 0 && (
-
Arguments:
-
+                
+ {t("arguments")} +
+
                   {JSON.stringify(args, null, 2)}
                 
)} {!isLeft && response && response !== "" && (
-
Response:
-
+                
{t("response")}
+
                   {response}