mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 09:09:53 +00:00
refac
This commit is contained in:
parent
07283ca0cf
commit
fa26b8d7cf
@ -326,7 +326,9 @@ class Pipe:
|
|||||||
<input
|
<input
|
||||||
class="w-full px-3 py-2 text-sm font-medium bg-gray-50 dark:bg-gray-850 dark:text-gray-200 rounded-lg outline-none"
|
class="w-full px-3 py-2 text-sm font-medium bg-gray-50 dark:bg-gray-850 dark:text-gray-200 rounded-lg outline-none"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder={$i18n.t('Function Description (e.g. A filter to remove profanity from text)')}
|
placeholder={$i18n.t(
|
||||||
|
'Function Description (e.g. A filter to remove profanity from text)'
|
||||||
|
)}
|
||||||
bind:value={meta.description}
|
bind:value={meta.description}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
|
@ -439,7 +439,9 @@
|
|||||||
<div>{$i18n.t('Please carefully review the following warnings:')}</div>
|
<div>{$i18n.t('Please carefully review the following warnings:')}</div>
|
||||||
|
|
||||||
<ul class=" mt-1 list-disc pl-4 text-xs">
|
<ul class=" mt-1 list-disc pl-4 text-xs">
|
||||||
<li>{$i18n.t('Tools have a function calling system that allows arbitrary code execution')}.</li>
|
<li>
|
||||||
|
{$i18n.t('Tools have a function calling system that allows arbitrary code execution')}.
|
||||||
|
</li>
|
||||||
<li>{$i18n.t('Do not install tools from sources you do not fully trust.')}</li>
|
<li>{$i18n.t('Do not install tools from sources you do not fully trust.')}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -214,7 +214,9 @@ class Tools:
|
|||||||
<input
|
<input
|
||||||
class="w-full px-3 py-2 text-sm font-medium bg-gray-50 dark:bg-gray-850 dark:text-gray-200 rounded-lg outline-none"
|
class="w-full px-3 py-2 text-sm font-medium bg-gray-50 dark:bg-gray-850 dark:text-gray-200 rounded-lg outline-none"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder={$i18n.t('Toolkit Description (e.g. A toolkit for performing various operations)')}
|
placeholder={$i18n.t(
|
||||||
|
'Toolkit Description (e.g. A toolkit for performing various operations)'
|
||||||
|
)}
|
||||||
bind:value={meta.description}
|
bind:value={meta.description}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
@ -267,7 +269,9 @@ class Tools:
|
|||||||
<div>{$i18n.t('Please carefully review the following warnings:')}</div>
|
<div>{$i18n.t('Please carefully review the following warnings:')}</div>
|
||||||
|
|
||||||
<ul class=" mt-1 list-disc pl-4 text-xs">
|
<ul class=" mt-1 list-disc pl-4 text-xs">
|
||||||
<li>{$i18n.t('Tools have a function calling system that allows arbitrary code execution.')}</li>
|
<li>
|
||||||
|
{$i18n.t('Tools have a function calling system that allows arbitrary code execution.')}
|
||||||
|
</li>
|
||||||
<li>{$i18n.t('Do not install tools from sources you do not fully trust.')}</li>
|
<li>{$i18n.t('Do not install tools from sources you do not fully trust.')}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user