mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac: valves filter out external tools
This commit is contained in:
parent
f0856bcb46
commit
99bba12de2
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@
|
||||||
>{$i18n.t('Select a tool')}</option
|
>{$i18n.t('Select a tool')}</option
|
||||||
>
|
>
|
||||||
|
|
||||||
{#each $tools as tool, toolIdx}
|
{#each $tools.filter((tool) => !tool?.id?.startsWith('server:')) as tool, toolIdx}
|
||||||
<option value={tool.id} class="bg-gray-100 dark:bg-gray-800">{tool.name}</option>
|
<option value={tool.id} class="bg-gray-100 dark:bg-gray-800">{tool.name}</option>
|
||||||
{/each}
|
{/each}
|
||||||
{:else if tab === 'functions'}
|
{:else if tab === 'functions'}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue