diff --git a/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx b/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx index c04670b3f..31b746695 100644 --- a/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx +++ b/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx @@ -85,6 +85,7 @@ export default function ChatView({ if (finalChatHistory.length === 0 && !lockChat && chatInputNode) setChatValue(chatInputNode.data.node.template["input_value"].value ?? ""); + else setChatValue(""); setChatHistory(finalChatHistory); }, [flowPool, messages, visibleSession]);