mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
* chore: replace violation cache accessors with enum * chore: fix test * chore(fileSchema): index timestamps * fix(ActionService): use encoding/caching strategy for handling assistant function character length limit * refactor(actions): async `domainParser` also resolve retrieved model (which is deployment name) to user-defined model * style(AssistantAction): add `whitespace-nowrap` for ellipsis * refactor(ActionService): if domain is less than or equal to encoded domain fixed length, return domain with replacement of separator * refactor(actions): use sessions/transactions for updating Assistant Action database records * chore: remove TTL from ENCODED_DOMAINS cache * refactor(domainParser): minor optimization and add tests * fix(spendTokens): use txData.user for token usage logging * refactor(actions): add helper function `withSession` for database operations with sessions/transactions * fix(PluginsClient): logger debug `message` field edge case
25 lines
638 B
JavaScript
25 lines
638 B
JavaScript
const streamResponse = require('./streamResponse');
|
|
const removePorts = require('./removePorts');
|
|
const countTokens = require('./countTokens');
|
|
const handleText = require('./handleText');
|
|
const cryptoUtils = require('./crypto');
|
|
const citations = require('./citations');
|
|
const sendEmail = require('./sendEmail');
|
|
const mongoose = require('./mongoose');
|
|
const queue = require('./queue');
|
|
const files = require('./files');
|
|
const math = require('./math');
|
|
|
|
module.exports = {
|
|
...streamResponse,
|
|
...cryptoUtils,
|
|
...handleText,
|
|
...citations,
|
|
...mongoose,
|
|
countTokens,
|
|
removePorts,
|
|
sendEmail,
|
|
...files,
|
|
...queue,
|
|
math,
|
|
};
|