{#if fileUpload.isDragging}

Drop the image here to upload

{/if}
{message?.role}
{#if parsedMessage.thinking && message?.role === "assistant"}
{#if isReasoningExpanded} {#if conversation.data.parseMarkdown && !isEditing}
{@html parsedReasoning}
{:else} {/if} {/if}
{/if} {#if conversation.data.parseMarkdown && message?.role === "assistant"}
(isEditing = false))} > {#snippet trigger(tooltip)} {/snippet} {isEditing ? "Stop editing" : "Edit"} {#if !isEditing}
{@html parsedContent}
{:else} {/if}
{:else} {/if}
button]:-my-px @2xl:[&>button]:-mx-px @max-2xl:[&>button:first-of-type]:rounded-t-md @2xl:[&>button:first-of-type]:rounded-l-md @max-2xl:[&>button:last-of-type]:rounded-b-md @2xl:[&>button:last-of-type]:rounded-r-md", shouldStick && "sticky", ]} > {#if canUploadImgs} {#snippet trigger(tooltip)} {/snippet} Add image {/if} {#snippet trigger(tooltip)} {#snippet children({ trigger, addToast })} {/snippet} {/snippet} Copy {#snippet trigger(tooltip)} {/snippet}
{regenLabel} {cmdOrCtrl}G
{#snippet trigger(tooltip)} {/snippet} Branch from here {#snippet trigger(tooltip)} {/snippet} Delete
{#each message.images ?? [] as imgKey (imgKey)} {#await images.get(imgKey)} {:then imgSrc}
uploaded
{/await} {/each}
{#if projects.current?.branchedFromId && projects.current?.branchedFromMessageIndex === index}
Branched from
{/if}