diff --git a/src/lib/components/admin/Settings/CodeExecution.svelte b/src/lib/components/admin/Settings/CodeExecution.svelte index 57240abc4..49078beca 100644 --- a/src/lib/components/admin/Settings/CodeExecution.svelte +++ b/src/lib/components/admin/Settings/CodeExecution.svelte @@ -138,8 +138,8 @@
-
-
+
+
{$i18n.t('Enable Code Interpreter')}
@@ -149,27 +149,37 @@
{#if config.ENABLE_CODE_INTERPRETER} -
-
- {$i18n.t('Code Interpreter Engine')} -
-
- +
+
+
+ {$i18n.t('Code Interpreter Engine')} +
+
+ +
+ + {#if config.CODE_EXECUTION_ENGINE === 'jupyter'} +
+ {$i18n.t( + 'Warning: Jupyter execution enables arbitrary code execution, posing severe security risks—proceed with extreme caution.' + )} +
+ {/if}
{#if config.CODE_INTERPRETER_ENGINE === 'jupyter'} -
+
{$i18n.t('Jupyter URL')}
@@ -187,7 +197,7 @@
-
+
{$i18n.t('Jupyter Auth')}