{ selectedTab = 'general'; }} >
{$i18n.t('General')}
{ selectedTab = 'users'; }} >
{$i18n.t('Users')}
{ selectedTab = 'connections'; }} >
{$i18n.t('Connections')}
{ selectedTab = 'models'; }} >
{$i18n.t('Models')}
{ selectedTab = 'evaluations'; }} >
{$i18n.t('Evaluations')}
{ selectedTab = 'documents'; }} >
{$i18n.t('Documents')}
{ selectedTab = 'web'; }} >
{$i18n.t('Web Search')}
{ selectedTab = 'interface'; }} >
{$i18n.t('Interface')}
{ selectedTab = 'audio'; }} >
{$i18n.t('Audio')}
{ selectedTab = 'images'; }} >
{$i18n.t('Images')}
{ selectedTab = 'pipelines'; }} >
{$i18n.t('Pipelines')}
{ selectedTab = 'db'; }} >
{$i18n.t('Database')}
{#if selectedTab === 'general'}
{ toast.success($i18n.t('Settings saved successfully!')); await tick(); await config.set(await getBackendConfig()); }} /> {:else if selectedTab === 'users'}
{ toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'connections'}
{ toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'models'}
{:else if selectedTab === 'evaluations'}
{:else if selectedTab === 'documents'}
{ toast.success($i18n.t('Settings saved successfully!')); await tick(); await config.set(await getBackendConfig()); }} /> {:else if selectedTab === 'web'}
{ toast.success($i18n.t('Settings saved successfully!')); await tick(); await config.set(await getBackendConfig()); }} /> {:else if selectedTab === 'interface'}
{ toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'audio'}
{ toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'images'}
{ toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'db'}
{ toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'pipelines'}
{ toast.success($i18n.t('Settings saved successfully!')); }} /> {/if}