Mention no. of docs in agents knowledge base in its badge hover text

This commit is contained in:
Debanjum Singh Solanky 2024-10-08 23:49:56 -07:00
parent 13fb22f7e7
commit dc7f22f76c

View file

@ -302,9 +302,7 @@ function AgentCard(props: AgentCardProps) {
<Badge
icon={<Book />}
text={`knowledge`}
hoverText={
"The agent has a custom knowledge base it can use to give you answers."
}
hoverText={`The agent has a custom knowledge base with ${props.data.files.length} documents. It can use them to give you answers.`}
/>
)}
<Badge