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