{#if avatar_img !== null}
{role} avatar
{/if}
{#each messages as message, thought_index}
0} > {#if in_edit_mode && message.type === "text"}