LibreChat/packages
Marco Beretta 03d79523da
fix: load app config on remaining retention-relevant routes
The messages routes (branch, artifact, post), share-link create/patch, and
the agent chat-abort route read req.config.interfaceConfig but never ran
configMiddleware, so req.config was undefined and retention was skipped.
Under ephemeral (and all) this let branched/edited/aborted messages and
shared links persist without isTemporary/expiredAt, outliving the chat.

Apply configMiddleware to those routes so retention is enforced
consistently. Add a getSharedLinkExpiration ephemeral test and keep route
test middleware mocks in sync.
2026-06-30 04:51:45 +02:00
..
api fix: load app config on remaining retention-relevant routes 2026-06-30 04:51:45 +02:00
client 🧪 ci: Resolve DataTable test infinite re-render (#13947) 2026-06-24 23:40:18 -04:00
data-provider feat: add ephemeral retention mode for forced temporary chats 2026-06-30 04:51:45 +02:00
data-schemas feat: add ephemeral retention mode for forced temporary chats 2026-06-30 04:51:45 +02:00