feat: tool desc

This commit is contained in:
Timothy J. Baek 2024-06-11 00:32:16 -07:00
parent 049b3136e8
commit 5237439e29
2 changed files with 5 additions and 1 deletions

View File

@ -659,6 +659,7 @@
tools={$tools.reduce((a, e, i, arr) => {
a[e.id] = {
name: e.name,
description: e.meta.description,
enabled: false
};

View File

@ -52,7 +52,10 @@
>
<div class="flex-1 flex items-center gap-2">
<WrenchSolid />
<div class="flex items-center">{tools[toolId].name}</div>
<Tooltip content={tools[toolId]?.description ?? ''}>
<div class="flex items-center line-clamp-1">{tools[toolId].name}</div>
</Tooltip>
</div>
<Switch