{#if sideBySide}
{conversation.model}
{/if}
{#if !viewCode}
{#each conversation.messages as message, messageIdx}
dispatch('deleteMessage', messageIdx)}
autofocus={!sideBySide && !loading && messageIdx === conversation.messages.length - 1}
/>
{/each}
{:else}
{/if}