diff --git a/src/lib/components/admin/Settings/CodeExecution.svelte b/src/lib/components/admin/Settings/CodeExecution.svelte index 13550bdce..57240abc4 100644 --- a/src/lib/components/admin/Settings/CodeExecution.svelte +++ b/src/lib/components/admin/Settings/CodeExecution.svelte @@ -45,25 +45,35 @@
-
-
{$i18n.t('Code Execution Engine')}
-
- +
+
+
{$i18n.t('Code Execution 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_EXECUTION_ENGINE === 'jupyter'} -
+
{$i18n.t('Jupyter URL')}
@@ -81,7 +91,7 @@
-
+
{$i18n.t('Jupyter Auth')}