Skip to content

Commit b544507

Browse files
Update tools/server/webui/src/lib/stores/chat.svelte.ts
Co-authored-by: Aleksander Grygier <[email protected]>
1 parent fb6edd3 commit b544507

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/server/webui/src/lib/stores/chat.svelte.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ class ChatStore {
419419

420420
if (messageIndex !== -1) {
421421
const [failedMessage] = this.activeMessages.splice(messageIndex, 1);
422+
422423
if (failedMessage) {
423424
DatabaseStore.deleteMessage(failedMessage.id).catch((cleanupError) => {
424425
console.error('Failed to remove assistant message after error:', cleanupError);

0 commit comments

Comments
 (0)