{#if message.from === "assistant"}
{#if !message.content}
{/if}
{#each tokens as token} {#if token.type === "code"}
{:else} {@html marked(token.raw, options)} {/if} {/each}
{/if} {#if message.from === "user"}
{message.content.trim()}
{#if !loading && message.id}
dispatch("retry")} >
{/if}
{/if}