diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index b743d06f2..96a9f0097 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}