mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 08:12:00 +02:00

* 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>
11 lines
303 B
JavaScript
11 lines
303 B
JavaScript
const tokenHelpers = require('./tokens');
|
|
const deriveBaseURL = require('./deriveBaseURL');
|
|
const extractBaseURL = require('./extractBaseURL');
|
|
const findMessageContent = require('./findMessageContent');
|
|
|
|
module.exports = {
|
|
deriveBaseURL,
|
|
extractBaseURL,
|
|
...tokenHelpers,
|
|
findMessageContent,
|
|
};
|