{#each messages as message, i} {#if i === 0 && preprompt !== $page.data.settings.customPrompts[currentModel.id]} {/if} {:else} {/each} {#if pending} {/if}