Browse Source

fix: clear files when saving response message as new

Timothy Jaeryang Baek 4 tháng trước cách đây
mục cha
commit
10747a6b04
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/lib/components/chat/Messages.svelte

+ 1 - 0
src/lib/components/chat/Messages.svelte

@@ -248,6 +248,7 @@
 					id: responseMessageId,
 					parentId: parentId,
 					childrenIds: [],
+					files: undefined,
 					content: content,
 					timestamp: Math.floor(Date.now() / 1000) // Unix epoch
 				};