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