{ if (expanded) { onToggle(); } }} class="flex w-full flex-col gap-5 p-6" > {#each Object.entries(settings).filter(([k]) => !(k == "activeModel" || k === "customPrompts")) as [key, val]} {/each}

Models

{#each models as model} {@const active = model.id === selectedModelId}
{#if active}
System Prompt
{#if expanded} {:else} {/if}