diff --git a/src/interface/web/app/components/chatHistory/chatHistory.tsx b/src/interface/web/app/components/chatHistory/chatHistory.tsx index c1cd923e..41989eb9 100644 --- a/src/interface/web/app/components/chatHistory/chatHistory.tsx +++ b/src/interface/web/app/components/chatHistory/chatHistory.tsx @@ -28,10 +28,6 @@ interface ChatResponse { response: ChatHistoryData; } -interface ChatHistory { - [key: string]: string; -} - interface ChatHistoryProps { conversationId: string; setTitle: (title: string) => void; @@ -368,7 +364,7 @@ export default function ChatHistory(props: ChatHistoryProps) { {data && data.chat && data.chat.map((chatMessage, index) => ( - <> + {chatMessage.trainOfThought && chatMessage.by === "khoj" && ( - + ))} {props.incomingMessages && props.incomingMessages.map((message, index) => {