LibreChat/api/utils
Danny Avila cbda3cb529
🕐 feat: Configurable Retention Period for Temporary Chats (#8056)
* feat: Add configurable retention period for temporary chats

* Addressing eslint errors

* Fix: failing test due to missing registration

* Update: variable name and use hours instead of days for chat retention

* Addressing comments

* chore: fix import order in Conversation.js

* chore: import order in Message.js

* chore: fix import order in config.ts

* chore: move common methods to packages/api to reduce potential for circular dependencies

* refactor: update temp chat retention config type to Partial<TCustomConfig>

* refactor: remove unused config variable from AppService and update loadCustomConfig tests with logger mock

* refactor: handle model undefined edge case by moving Session model initialization inside methods

---------

Co-authored-by: Rakshit Tiwari <rak1729e@gmail.com>
2025-06-25 17:16:26 -04:00
..
deriveBaseURL.js 🦙 feat: Ollama Vision Support (#2643) 2024-05-08 20:24:40 -04:00
deriveBaseURL.spec.js 🦙 feat: Ollama Vision Support (#2643) 2024-05-08 20:24:40 -04:00
extractBaseURL.js ☁️ feat: Additional AI Gateway Provider Support; fix: Reasoning Effort for Presets/Agents (#5600) 2025-02-02 09:04:10 -05:00
extractBaseURL.spec.js 🪶 feat: Add Support for Azure OpenAI Base URL (#1596) 2024-01-19 14:57:03 -05:00
findMessageContent.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
index.js 🕐 feat: Configurable Retention Period for Temporary Chats (#8056) 2025-06-25 17:16:26 -04:00
logger.js feat: Logins log for Fail2Ban (#986) 2023-09-24 12:18:10 -04:00
LoggingSystem.js feat: Logins log for Fail2Ban (#986) 2023-09-24 12:18:10 -04:00
tokens.js 🦾 feat: Claude-4 Support (#7509) 2025-05-22 15:00:44 -04:00
tokens.spec.js 🦾 feat: Claude-4 Support (#7509) 2025-05-22 15:00:44 -04:00