mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-04 13:21:17 +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. |
||
|---|---|---|
| .. | ||
| controllers | ||
| middleware | ||
| routes | ||
| services | ||
| utils | ||
| cleanup.js | ||
| experimental.js | ||
| index.js | ||
| index.metrics.spec.js | ||
| index.spec.js | ||
| socialLogins.js | ||
| socialLogins.spec.js | ||
| telemetry.js | ||
| telemetry.spec.js | ||