{#if message.from === "assistant"}
(isTapped = !isTapped)} on:keypress={() => (isTapped = !isTapped)} >
{#if webSearchMessages && webSearchMessages.length > 0}
{/if} {#if !message.content && (webSearchIsDone || (webSearchMessages && webSearchMessages.length === 0))}
{/if}
{#if message.isCode == true}
{:else} {@html marked(message.content, options)} {/if}
{/if} {#if message.from === "user"}
{message.content.trim()}
{#if !loading}
{/if}
{/if}