reset current reset toolsString

This commit is contained in:
2023-11-10 19:50:41 +08:00
parent dd56f1b94a
commit aec8f5d40f

View File

@@ -455,6 +455,7 @@ export default function ChatBOX(props: {
className="mx-2 underline cursor-pointer" className="mx-2 underline cursor-pointer"
onClick={() => { onClick={() => {
chatStore.systemMessageContent = ""; chatStore.systemMessageContent = "";
chatStore.toolsString = "";
chatStore.history = []; chatStore.history = [];
setChatStore({ ...chatStore }); setChatStore({ ...chatStore });
}} }}