diff --git a/src/interface/web/app/components/chatHistory/chatHistory.tsx b/src/interface/web/app/components/chatHistory/chatHistory.tsx index 5075f382..2abe9632 100644 --- a/src/interface/web/app/components/chatHistory/chatHistory.tsx +++ b/src/interface/web/app/components/chatHistory/chatHistory.tsx @@ -45,7 +45,7 @@ interface TrainOfThoughtComponentProps { trainOfThought: string[]; lastMessage: boolean; agentColor: string; - key: string; + keyId: string; completed?: boolean; } @@ -56,7 +56,7 @@ function TrainOfThoughtComponent(props: TrainOfThoughtComponentProps) { return (
{!props.completed && } {props.completed && @@ -333,6 +333,7 @@ export default function ChatHistory(props: ChatHistoryProps) { lastMessage={false} agentColor={data?.agent?.color || "orange"} key={`${index}trainOfThought`} + keyId={`${index}trainOfThought`} completed={true} /> )} @@ -369,6 +370,7 @@ export default function ChatHistory(props: ChatHistoryProps) { lastMessage={index === incompleteIncomingMessageIndex} agentColor={data?.agent?.color || "orange"} key={`${index}trainOfThought`} + keyId={`${index}trainOfThought`} completed={message.completed} /> )}