This commit is contained in:
SimonOriginal 2024-07-15 15:14:43 +02:00
parent 07283ca0cf
commit fa26b8d7cf
3 changed files with 12 additions and 4 deletions

View File

@ -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
/> />

View File

@ -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>

View File

@ -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>