Selaa lähdekoodia

fix: clear files when saving response message as new

Timothy Jaeryang Baek 4 kuukautta sitten
vanhempi
commit
10747a6b04
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/lib/components/chat/Messages.svelte

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

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