Spaces:
Sleeping
Sleeping
during generation, messages should not be edited
Browse files73 unmodified lines7475767778798081828384858687140 unmodified lines22822923023123223373 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}<divclass="flex max-h-[calc(100dvh-5.8rem)] flex-col overflow-y-auto overflow-x-hidden @container"bind:this={messageContainer}>{#if conversations.length > 1}73 unmodified lines747576777879140 unmodified lines22022122222322422522673 unmodified lines}function deleteMessage(i: number) {currentConversation.messages = currentConversation.messages.filter((_, j) => j !== i);conversations = conversations;}140 unmodified lines{#each conversations as conversation, index}<divclass="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