{#each selectedModels as selectedModel, selectedModelIdx}
({ value: model.id, label: model.name, model: model }))} showTemporaryChatControl={$user.role === 'user' ? ($config?.permissions?.chat?.temporary ?? true) : true} bind:value={selectedModel} />
{#if selectedModelIdx === 0}
{:else}
{/if}
{/each}
{#if showSetDefault}
{/if}