WebUI Settings
Theme
{#if theme === 'dark'}
{:else if theme === 'light'}
{/if}
{ localStorage.theme = theme; themes .filter((e) => e !== theme) .forEach((e) => { e.split(' ').forEach((e) => { document.documentElement.classList.remove(e); }); }); theme.split(' ').forEach((e) => { document.documentElement.classList.add(e); }); console.log(theme); }} >
Dark
Light
Rosé Pine
Rosé Pine Dawn
Notification
{ toggleNotification(); }} type="button" > {#if notificationEnabled === true}
On
{:else}
Off
{/if}
{#if $user.role === 'admin'}
Ollama API URL
{ updateOllamaAPIUrlHandler(); }} >
Trouble accessing Ollama?
Click here for help.
{/if}
System Prompt
{ saveSettings({ system: system !== '' ? system : undefined }); dispatch('save'); }} > Save