mirror of
https://github.com/open-webui/open-webui
synced 2025-02-20 12:00:22 +00:00
feat: tools warning
This commit is contained in:
parent
dc82e681dd
commit
37ed31b0e2
@ -125,7 +125,16 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pb-3 flex justify-end">
|
<div class="pb-3 flex justify-between">
|
||||||
|
<div class="flex-1 pr-3">
|
||||||
|
<div class="text-xs text-gray-500 line-clamp-2">
|
||||||
|
<span class=" font-semibold dark:text-gray-200">Warning:</span> Tools are a function
|
||||||
|
calling system with arbitrary code execution <br />—
|
||||||
|
<span class=" font-medium dark:text-gray-400"
|
||||||
|
>don't install random tools from sources you don't trust.</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<button
|
<button
|
||||||
class="px-3 py-1.5 text-sm font-medium bg-emerald-600 hover:bg-emerald-700 text-gray-50 transition rounded-lg"
|
class="px-3 py-1.5 text-sm font-medium bg-emerald-600 hover:bg-emerald-700 text-gray-50 transition rounded-lg"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user