Spaces:
Sleeping
Sleeping
during generation, messages should not be edited
Browse files73 unmodified lines7475767778798081828384777879140 unmodified lines22022122222322422522673 unmodified lines }
function deleteMessage(i: number) { if (i === currentConversation.messages.length - 1 && streamingMessage) { if (abortController) { abortController.abort(); abortController = null; } loading = false; streamingMessage = null; } currentConversation.messages = currentConversation.messages.filter((_, j) => j !== i); conversations = conversations; }140 unmodified lines {#each conversations as conversation, index} <div class="flex max-h-[calc(100dvh-5.8rem)] flex-col overflow-y-auto overflow-x-hidden @container" class:pointer-events-none={loading} bind:this={messageContainer} > {#if conversations.length > 1}src/lib/components/Playground/Playground.svelte+1-8