{#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}
{#if downloadLink} {/if} {#if !readOnly} {/if}
{/if}
{/if}