mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-08 05:39:13 +00:00
Mention no. of docs in agents knowledge base in its badge hover text
This commit is contained in:
@@ -302,9 +302,7 @@ function AgentCard(props: AgentCardProps) {
|
|||||||
<Badge
|
<Badge
|
||||||
icon={<Book />}
|
icon={<Book />}
|
||||||
text={`knowledge`}
|
text={`knowledge`}
|
||||||
hoverText={
|
hoverText={`The agent has a custom knowledge base with ${props.data.files.length} documents. It can use them to give you answers.`}
|
||||||
"The agent has a custom knowledge base it can use to give you answers."
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<Badge
|
<Badge
|
||||||
|
|||||||
Reference in New Issue
Block a user