fix: clear files when saving response message as new

This commit is contained in:
Timothy Jaeryang Baek 2024-12-09 23:24:45 -08:00
parent faa054d4b4
commit 10747a6b04

View File

@ -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
}; };