{ // console.log('submit'); await setDefaultModels(localStorage.token, defaultModelId); await updateUserDefaultPermissions(localStorage.token, { chat: { deletion: chatDeletion, editing: chatEdit, temporary: chatTemporary } }); await updateModelFilterConfig(localStorage.token, whitelistEnabled, whitelistModels); saveHandler(); await config.set(await getBackendConfig()); }} >
{$i18n.t('User Permissions')}
{$i18n.t('Allow Chat Deletion')}
{$i18n.t('Allow Chat Editing')}
{$i18n.t('Allow Temporary Chat')}
{$i18n.t('Save')}