diff --git a/src/frontend/src/components/newChatView/index.tsx b/src/frontend/src/components/newChatView/index.tsx index 49151581a..37c7db51b 100644 --- a/src/frontend/src/components/newChatView/index.tsx +++ b/src/frontend/src/components/newChatView/index.tsx @@ -64,7 +64,7 @@ export default function newChatView(): JSX.Element { .artifacts as ChatOutputType; console.log(output.data.artifacts); const is_ai = sender === "Machine"; - return { isSend: !is_ai, message: String(message), sender_name }; + return { isSend: !is_ai, message: message, sender_name }; }); setChatHistory(chatMessages); }, [flowPool]);