diff --git a/src/chatbox.tsx b/src/chatbox.tsx index 08e8ce8..391a4d0 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -487,6 +487,7 @@ export default function ChatBOX(props: { example: false, }); update_total_tokens(); + setInputMsg(""); setChatStore({ ...chatStore }); }} > @@ -506,6 +507,7 @@ export default function ChatBOX(props: { example: false, }); update_total_tokens(); + setInputMsg(""); setChatStore({ ...chatStore }); }} >