From aec8f5d40fb2797f22c0b3857649a51052ee5d4f Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Fri, 10 Nov 2023 19:50:41 +0800 Subject: [PATCH] reset current reset toolsString --- src/chatbox.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chatbox.tsx b/src/chatbox.tsx index 3a4912d..5aa2381 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -455,6 +455,7 @@ export default function ChatBOX(props: { className="mx-2 underline cursor-pointer" onClick={() => { chatStore.systemMessageContent = ""; + chatStore.toolsString = ""; chatStore.history = []; setChatStore({ ...chatStore }); }}