From 6aaf7beb5b7a3a27f9103731e5d2252deac14304 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Fri, 10 Nov 2023 11:17:22 +0800 Subject: [PATCH] add
above tool_call msg --- src/message.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/message.tsx b/src/message.tsx index b4ff996..b692b03 100644 --- a/src/message.tsx +++ b/src/message.tsx @@ -294,11 +294,14 @@ export default function Message(props: Props) {
{chat.tool_calls?.map((tool_call) => ( -
- Tool Call ID: {tool_call?.id} -

Type: {tool_call?.type}

-

Function: {JSON.stringify(tool_call?.function)}

-
+ <> +
+
+ Tool Call ID: {tool_call?.id} +

Type: {tool_call?.type}

+

Function: {JSON.stringify(tool_call?.function)}

+
+ ))}