{$i18n.t('WebUI Settings')}
{$i18n.t('Theme')}
themeChangeHandler(selectedTheme)} >
⚙️ {$i18n.t('System')}
🌑 {$i18n.t('Dark')}
🌃 {$i18n.t('OLED Dark')}
☀️ {$i18n.t('Light')}
{$i18n.t('Language')}
{ $i18n.changeLanguage(lang); }} > {#each languages as language}
{language['title']}
{/each}
{#if $i18n.language === 'en-US'}
Couldn't find your language?
Help us translate Open WebUI!
{/if}
{$i18n.t('Notifications')}
{ toggleNotification(); }} type="button" > {#if notificationEnabled === true}
{$i18n.t('On')}
{:else}
{$i18n.t('Off')}
{/if}
{$i18n.t('System Prompt')}
{$i18n.t('Advanced Parameters')}
{ showAdvanced = !showAdvanced; }}>{showAdvanced ? $i18n.t('Hide') : $i18n.t('Show')}
{#if showAdvanced}
{$i18n.t('Keep Alive')}
{ keepAlive = keepAlive === null ? '5m' : null; }} > {#if keepAlive === null}
{$i18n.t('Default')}
{:else}
{$i18n.t('Custom')}
{/if}
{#if keepAlive !== null}
{/if}
{$i18n.t('Request Mode')}
{ toggleRequestFormat(); }} > {#if requestFormat === ''}
{$i18n.t('Default')}
{:else if requestFormat === 'json'}
{$i18n.t('JSON')}
{/if}
{/if}
{ saveSettings({ system: system !== '' ? system : undefined, params: { seed: (params.seed !== 0 ? params.seed : undefined) ?? undefined, stop: params.stop !== null ? params.stop.split(',').filter((e) => e) : undefined, temperature: params.temperature !== '' ? params.temperature : undefined, frequency_penalty: params.frequency_penalty !== '' ? params.frequency_penalty : undefined, repeat_last_n: params.repeat_last_n !== '' ? params.repeat_last_n : undefined, mirostat: params.mirostat !== '' ? params.mirostat : undefined, mirostat_eta: params.mirostat_eta !== '' ? params.mirostat_eta : undefined, mirostat_tau: params.mirostat_tau !== '' ? params.mirostat_tau : undefined, top_k: params.top_k !== '' ? params.top_k : undefined, top_p: params.top_p !== '' ? params.top_p : undefined, tfs_z: params.tfs_z !== '' ? params.tfs_z : undefined, num_ctx: params.num_ctx !== '' ? params.num_ctx : undefined, max_tokens: params.max_tokens !== '' ? params.max_tokens : undefined }, keepAlive: keepAlive ? (isNaN(keepAlive) ? keepAlive : parseInt(keepAlive)) : undefined }); dispatch('save'); }} > {$i18n.t('Save')}