{#if models !== null && taskConfig}
{ updateHandler(); }} >
{$i18n.t('settings.admin.interface.taskModel.label')}
{$i18n.t('settings.admin.interface.taskModel.description')}
{ taskConfig.TASK_MODEL = normalizeModelSelection(taskConfig.TASK_MODEL); }} >
{$i18n.t('Current Model')}
{#each modelOptions as model}
{model.name} {model?.connection_type === 'local' ? `(${$i18n.t('Local')})` : ''}
{/each}
{ taskConfig.TASK_MODEL_EXTERNAL = normalizeModelSelection( taskConfig.TASK_MODEL_EXTERNAL ); }} >
{$i18n.t('Current Model')}
{#each modelOptions as model}
{model.name} {model?.connection_type === 'local' ? `(${$i18n.t('Local')})` : ''}
{/each}
{ showTaskParameters = !showTaskParameters; }} >
{$i18n.t('settings.admin.interface.taskModelParameters.label')}
{showTaskParameters ? $i18n.t('Close') : $i18n.t('Configure')}
{#if showTaskParameters}
{/if}
{#if taskConfig.ENABLE_TITLE_GENERATION}
{/if}
{#if taskConfig.ENABLE_FOLLOW_UP_GENERATION}
{/if}
{#if taskConfig.ENABLE_TAGS_GENERATION}
{/if}
{#if $appConfig?.features?.enable_web_search}
{/if}
{#if taskConfig.ENABLE_AUTOCOMPLETE_GENERATION}
{/if}
{#if taskConfig.ENABLE_VOICE_MODE_PROMPT}
{/if}
{:else}
{/if}