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({
++ {t("arguments")} ++{JSON.stringify(args, null, 2)}
+{t("response")}+{response}