LibreChat/api/server/utils
Danny Avila 431fc6284f
🛠️ fix: Minor Fixes in Message, Ask/EditController, OpenAIClient, and countTokens (#1463)
* fix(Message): avoid overwriting unprovided properties

* fix(OpenAIClient): return intermediateReply on user abort

* fix(AskController): do not send/save final message if abort was triggered

* fix(countTokens): avoid fetching remote registry and exclusively use cl100k_base or p50k_base weights for token counting

* refactor(Message/messageSchema): rely on messageSchema for default values when saving messages

* fix(EditController): do not send/save final message if abort was triggered

* fix(config/helpers): fix module resolution error
2023-12-30 14:34:32 -05:00
..
emails feat(GPT/Anthropic): Continue Regenerating & Generation Buttons (#808) 2023-08-17 12:50:05 -04:00
citations.js feat(GPT/Anthropic): Continue Regenerating & Generation Buttons (#808) 2023-08-17 12:50:05 -04:00
countTokens.js 🛠️ fix: Minor Fixes in Message, Ask/EditController, OpenAIClient, and countTokens (#1463) 2023-12-30 14:34:32 -05:00
crypto.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
handleText.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
handleText.spec.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
index.js feat: ConversationSummaryBufferMemory (#973) 2023-09-26 21:02:28 -04:00
math.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
removePorts.js feat: bun api support 🥟 (#1021) 2023-10-07 11:16:06 -04:00
sendEmail.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
streamResponse.js 🧹fix: Handle Abort Message Edge Cases (#1462) 2023-12-30 12:34:23 -05:00