{$i18n.t('WebUI Settings')}
{$i18n.t('Theme')}
themeChangeHandler(selectedTheme)} >
⚙️ {$i18n.t('System')}
🌑 {$i18n.t('Dark')}
🌃 {$i18n.t('OLED Dark')}
☀️ {$i18n.t('Light')}
🌷 Her
{$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: { stream_response: params.stream_response !== null ? params.stream_response : undefined, seed: (params.seed !== null ? params.seed : undefined) ?? undefined, stop: params.stop ? params.stop.split(',').filter((e) => e) : undefined, temperature: params.temperature !== null ? params.temperature : undefined, frequency_penalty: params.frequency_penalty !== null ? params.frequency_penalty : undefined, repeat_last_n: params.repeat_last_n !== null ? params.repeat_last_n : undefined, mirostat: params.mirostat !== null ? params.mirostat : undefined, mirostat_eta: params.mirostat_eta !== null ? params.mirostat_eta : undefined, mirostat_tau: params.mirostat_tau !== null ? params.mirostat_tau : undefined, top_k: params.top_k !== null ? params.top_k : undefined, top_p: params.top_p !== null ? params.top_p : undefined, tfs_z: params.tfs_z !== null ? params.tfs_z : undefined, num_ctx: params.num_ctx !== null ? params.num_ctx : undefined, num_batch: params.num_batch !== null ? params.num_batch : undefined, num_keep: params.num_keep !== null ? params.num_keep : undefined, max_tokens: params.max_tokens !== null ? params.max_tokens : undefined, use_mmap: params.use_mmap !== null ? params.use_mmap : undefined, use_mlock: params.use_mlock !== null ? params.use_mlock : undefined, num_thread: params.num_thread !== null ? params.num_thread : undefined, num_gpu: params.num_gpu !== null ? params.num_gpu : undefined }, keepAlive: keepAlive ? (isNaN(keepAlive) ? keepAlive : parseInt(keepAlive)) : undefined }); dispatch('save'); }} > {$i18n.t('Save')}