diff --git a/src/frontend/src/components/newChatView/index.tsx b/src/frontend/src/components/newChatView/index.tsx index e45c8a71e..1a3293f12 100644 --- a/src/frontend/src/components/newChatView/index.tsx +++ b/src/frontend/src/components/newChatView/index.tsx @@ -57,7 +57,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, sender_name }; + return { isSend: !is_ai, message: String(message), sender_name }; }); setChatHistory(chatMessages); }, [flowPool]);