From 2d252a389cbd3460a85b2f0233a403142f33bee1 Mon Sep 17 00:00:00 2001 From: cgoing Date: Thu, 27 Mar 2025 11:42:39 +0900 Subject: [PATCH] Remove escapeUnicode function from ToolsTab.tsx --- client/src/components/JsonView.tsx | 6 +++--- client/src/components/ToolsTab.tsx | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/client/src/components/JsonView.tsx b/client/src/components/JsonView.tsx index e20dd5c..bd8d315 100644 --- a/client/src/components/JsonView.tsx +++ b/client/src/components/JsonView.tsx @@ -3,7 +3,7 @@ import { JsonValue } from "./DynamicJsonForm"; import clsx from "clsx"; interface JsonViewProps { - data: JsonValue; + data: unknown; name?: string; initialExpandDepth?: number; } @@ -33,9 +33,9 @@ const JsonView = memo( : data; return ( -
+

Invalid Tool Result:

- +

Errors:

{parsedResult.error.errors.map((error, idx) => (
- +
))} @@ -99,7 +98,7 @@ const ToolsTab = ({ ) : (
- +
))}
@@ -111,7 +110,7 @@ const ToolsTab = ({ <>

Tool Result (Legacy):

- +
);