diff --git a/examples/chat-ui/index.html b/examples/chat-ui/index.html index e4b78ea..f428a2d 100644 --- a/examples/chat-ui/index.html +++ b/examples/chat-ui/index.html @@ -4,7 +4,7 @@ -
{JSON.stringify(message.toolArgs, null, 2)}
+ {!shouldTruncate && (
+
+ {JSON.stringify(message.toolArgs, null, 2)}
+
+ ) : (
+
- {JSON.stringify(message.toolResult, null, 2)}
-
+ {!shouldTruncate && (
+
+ {JSON.stringify(message.toolResult, null, 2)}
+
+ ) : (
+