{#if message.from === "assistant"}
{#if !message.content} {/if}
{#each tokens as token} {#if token.type === "code"} {:else} {@html marked.parser([token], options)} {/if} {/each}
{/if} {#if message.from === "user"}
{message.content.trim()}
{/if}