fix(ui): render agent capabilities field in org chart cards (#2349)
* fix(ui): render agent capabilities field in org chart cards Closes #2209 * Update ui/src/pages/OrgChart.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
dedd972e3d
commit
056a5ee32a
1 changed files with 5 additions and 0 deletions
|
|
@ -429,6 +429,11 @@ export function OrgChart() {
|
|||
{adapterLabels[agent.adapterType] ?? agent.adapterType}
|
||||
</span>
|
||||
)}
|
||||
{agent && agent.capabilities && (
|
||||
<span className="text-[10px] text-muted-foreground/80 leading-tight mt-1 line-clamp-2">
|
||||
{agent.capabilities}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue