{ updateInterfaceHandler(); dispatch('save'); }} >
{$i18n.t('WebUI Add-ons')}
{$i18n.t('Title Auto-Generation')}
{ toggleTitleAutoGenerate(); }} type="button" > {#if titleAutoGenerate === true}
{$i18n.t('On')}
{:else}
{$i18n.t('Off')}
{/if}
{$i18n.t('Response AutoCopy to Clipboard')}
{ toggleResponseAutoCopy(); }} type="button" > {#if responseAutoCopy === true}
{$i18n.t('On')}
{:else}
{$i18n.t('Off')}
{/if}
{$i18n.t('Full Screen Mode')}
{ toggleFullScreenMode(); }} type="button" > {#if fullScreenMode === true}
{$i18n.t('On')}
{:else}
{$i18n.t('Off')}
{/if}
{$i18n.t('Display the username instead of You in the Chat')}
{ toggleShowUsername(); }} type="button" > {#if showUsername === true}
{$i18n.t('On')}
{:else}
{$i18n.t('Off')}
{/if}
{$i18n.t('Set Title Auto-Generation Model')}
{$i18n.t('Current Model')}
{#each $models as model} {#if model.size != null}
{model.name + ' (' + (model.size / 1024 ** 3).toFixed(1) + ' GB)'}
{/if} {/each}
{ saveSettings({ titleAutoGenerateModel: titleAutoGenerateModel !== '' ? titleAutoGenerateModel : undefined }); }} type="button" >
{$i18n.t('Title Generation Prompt')}
{#if $user.role === 'admin'}
{$i18n.t('Default Prompt Suggestions')}
{ if (promptSuggestions.length === 0 || promptSuggestions.at(-1).content !== '') { promptSuggestions = [...promptSuggestions, { content: '', title: ['', ''] }]; } }} >
{#each promptSuggestions as prompt, promptIdx}
{ promptSuggestions.splice(promptIdx, 1); promptSuggestions = promptSuggestions; }} >
{/each}
{#if promptSuggestions.length > 0}
Adjusting these settings will apply changes universally to all users.
{/if}
{/if}
Save