diff --git a/src/lib/components/chat/Settings/General.svelte b/src/lib/components/chat/Settings/General.svelte index 694648206..b269e2b45 100644 --- a/src/lib/components/chat/Settings/General.svelte +++ b/src/lib/components/chat/Settings/General.svelte @@ -243,67 +243,68 @@ /> -
-
-
{$i18n.t('Advanced Parameters')}
- -
- - {#if showAdvanced} - -
- -
-
-
{$i18n.t('Keep Alive')}
- - -
- - {#if keepAlive !== null} -
- -
- {/if} + {#if $user.role === 'admin' || $user?.permissions.chat?.controls} +
+
+
{$i18n.t('Advanced Parameters')}
+
-
-
-
{$i18n.t('Request Mode')}
+ {#if showAdvanced} + +
- + {$i18n.t('JSON')} + {/if} + +
-
- {/if} -
+ {/if} +
+ {/if}