Show action bar on last chat message without hover

This commit is contained in:
Debanjum Singh Solanky
2024-07-14 10:29:28 +05:30
parent a0f38e079f
commit dbbd4b9777
2 changed files with 7 additions and 2 deletions

View File

@@ -251,6 +251,7 @@ export default function ChatHistory(props: ChatHistoryProps) {
chatMessage={chatMessage}
customClassName='fullHistory'
borderLeftColor='orange-500'
isLastMessage={index === data.chat.length - 1}
/>
))}
{
@@ -271,7 +272,8 @@ export default function ChatHistory(props: ChatHistoryProps) {
}
}
customClassName='fullHistory'
borderLeftColor='orange-500' />
borderLeftColor='orange-500'
/>
{
message.trainOfThought &&
constructTrainOfThought(
@@ -295,6 +297,7 @@ export default function ChatHistory(props: ChatHistoryProps) {
}
customClassName='fullHistory'
borderLeftColor='orange-500'
isLastMessage={true}
/>
</>
)
@@ -317,6 +320,7 @@ export default function ChatHistory(props: ChatHistoryProps) {
}
customClassName='fullHistory'
borderLeftColor='orange-500'
isLastMessage={true}
/>
}
<div className={`${styles.agentIndicator}`}>