mirror of
https://github.com/open-webui/open-webui
synced 2025-03-28 19:24:29 +00:00
feat: tool desc
This commit is contained in:
parent
049b3136e8
commit
5237439e29
@ -659,6 +659,7 @@
|
||||
tools={$tools.reduce((a, e, i, arr) => {
|
||||
a[e.id] = {
|
||||
name: e.name,
|
||||
description: e.meta.description,
|
||||
enabled: false
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user