{#if message.from === 'assistant'}
{#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}