mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-03 04:42:11 +00:00
Bookmark-tag writes update Conversation rows directly without saveConvo, so under ephemeral retention adding a tag to a chat (createConversationTag) or changing a chat's tag list (updateTagsForConversation) left an older permanent conversation with isTemporary/expiredAt unset, keeping it visible and non-expiring. Make applyForcedRetention's messageId optional so it can run the conversation cascade alone, load app config on the per-conversation tag routes (POST /api/tags when adding to a conversation, PUT /api/tags/convo/:conversationId), and enforce retention after the write. |
||
|---|---|---|
| .. | ||
| app | ||
| cache | ||
| config | ||
| db | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| typedefs.js | ||