diff --git a/src/frontend/src/modals/chatModal/index.tsx b/src/frontend/src/modals/chatModal/index.tsx index 6b1e0e829..5b3810796 100644 --- a/src/frontend/src/modals/chatModal/index.tsx +++ b/src/frontend/src/modals/chatModal/index.tsx @@ -44,7 +44,7 @@ export default function ChatModal({ setChatHistory((old) => { let newChat = _.cloneDeep(old); if (files) { - newChat.push({ message, isSend, files }); + newChat.push({ message, isSend, files,thought }); } else if (thought) { newChat.push({ message, isSend, thought }); } else {