Commit 5237439e authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

feat: tool desc

parent 049b3136
...@@ -659,6 +659,7 @@ ...@@ -659,6 +659,7 @@
tools={$tools.reduce((a, e, i, arr) => { tools={$tools.reduce((a, e, i, arr) => {
a[e.id] = { a[e.id] = {
name: e.name, name: e.name,
description: e.meta.description,
enabled: false enabled: false
}; };
......
...@@ -52,7 +52,10 @@ ...@@ -52,7 +52,10 @@
> >
<div class="flex-1 flex items-center gap-2"> <div class="flex-1 flex items-center gap-2">
<WrenchSolid /> <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> </div>
<Switch <Switch
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment