mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-03 04:42:11 +00:00
Extends the `retentionMode` interface option with a new `ephemeral` value that forces every conversation to be temporary and applies expiration deadlines to all data. Unlike `all` (which keeps chats visible until they expire), `ephemeral` marks all chats temporary so they are hidden from history and search, with the per-chat toggle locked on. - Add RetentionMode.EPHEMERAL plus isAllDataRetention and isForcedTemporaryRetention helpers - Force isTemporary and expiry on conversations, messages, imports, and files - Force the TEMPORARY_CHAT permission on so the locked indicator is shown - Lock the temporary-chat toggle in the UI and force new/existing chats temporary - Document the new mode in librechat.example.yaml |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| sw | ||
| test | ||
| babel.config.cjs | ||
| check_updates.sh | ||
| index.html | ||
| jest.config.cjs | ||
| jest.resolver.cjs | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.cjs | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||