diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index b743d06f..96a9f009 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -239,6 +239,10 @@ }; const editMessageConfirmHandler = async () => { + if (editedContent === '') { + editedContent = ' '; + } + confirmEditResponseMessage(message.id, editedContent); edit = false; @@ -284,7 +288,7 @@ {:else}
{#if edit === true} @@ -361,11 +365,13 @@ {/if} {#if message.done} -
+
{#if siblings.length > 1}
-
+
{siblings.indexOf(message.id) + 1} / {siblings.length}