mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Mention no. of docs in agents knowledge base in its badge hover text
This commit is contained in:
parent
13fb22f7e7
commit
dc7f22f76c
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue