{#key message.id}
{model?.name ?? message.model} {#if message.timestamp} {/if} {#if (message?.files ?? []).filter((f) => f.type === 'image').length > 0}
{#each message.files as file}
{#if file.type === 'image'} {/if}
{/each}
{/if}
{#if message?.status}
{#if message?.status?.done === false}
{/if} {#if message?.status?.action === 'web_search' && message?.status?.urls}
{message.status.description}
{:else}
{message.status.description}
{/if}
{/if} {#if edit === true}