LibreChat/api/server/utils
Danny Avila 8c22bb1d3d
🛠️ fix(Azure/Assistants): Handle Long Domain Names & Other Minor chores (#2475)
* 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
2024-04-20 15:02:56 -04:00
..
emails 📧 update email templates (#2057) 2024-03-11 09:07:09 -04:00
citations.js feat(GPT/Anthropic): Continue Regenerating & Generation Buttons (#808) 2023-08-17 12:50:05 -04:00
countTokens.js feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
crypto.js 🔧 feat: Share Assistant Actions between Users (#2116) 2024-03-16 16:49:11 -04:00
files.js feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
handleText.js 👓 feat: Vision Support for Assistants (#2195) 2024-03-24 23:43:00 -04:00
handleText.spec.js 🅰️ feat: Azure Config to Allow Different Deployments per Model (#1863) 2024-02-26 14:12:25 -05:00
index.js 🛠️ fix(Azure/Assistants): Handle Long Domain Names & Other Minor chores (#2475) 2024-04-20 15:02:56 -04:00
math.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
mongoose.js 🛠️ fix(Azure/Assistants): Handle Long Domain Names & Other Minor chores (#2475) 2024-04-20 15:02:56 -04:00
queue.js 🅰️ feat: Azure OpenAI Assistants API Support (#1992) 2024-03-14 17:21:42 -04:00
removePorts.js feat: bun api support 🥟 (#1021) 2023-10-07 11:16:06 -04:00
sendEmail.js fix(sendEmail): circular dependency 2024-03-20 11:52:05 -04:00
streamResponse.js 👥 fix(assistants): Improve Error handling (#2012) 2024-03-07 10:50:01 -05:00