mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-10 16:23:44 +00:00
collectConversationFileIds only read Message.files, but agent/tool outputs (code artifacts, generated images) are stored on Message.attachments with their own file_id references, and those File rows also commonly lack a conversationId. A forced-retention conversion or migration could therefore convert the conversation and messages while leaving attachment file metadata at expiredAt: null, so storage cleanup never swept it. Match messages carrying either field and collect file ids from both arrays. |
||
|---|---|---|
| .. | ||
| api | ||
| client | ||
| data-provider | ||
| data-schemas | ||