reset current reset toolsString
This commit is contained in:
@@ -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 });
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user