LibreChat/api/server
Danny Avila d54458b3a6
🧮 feat: Improve structured token spending and testing; fix: Anthropic Cache Spend (#3766)
* chore: update jest and mongodb-memory-server dependencies

* fix: Anthropic edge case of increasing balance

* refactor: Update token calculations in Transaction model/spec

* refactor: `spendTokens` always record transactions, add Tx related tests

* feat: Add error handling for CHECK_BALANCE environment variable

* feat: Update import path for Balance model in Balance controller

* chore: remove logging

* refactor: Improve structured token spend logging in spendTokens.js

* ci: add unit tests for spend token

* ci: Improve structured token spend unit testing

* chore: improve logging phrase for no tx spent from balance
2024-08-24 04:36:08 -04:00
..
controllers 🧮 feat: Improve structured token spending and testing; fix: Anthropic Cache Spend (#3766) 2024-08-24 04:36:08 -04:00
middleware 🤖 refactor: Remove Default Model Params for All Endpoints (#3682) 2024-08-18 06:00:03 -04:00
routes 🔖 feat: Enhance Bookmarks UX, add RBAC, toggle via librechat.yaml (#3747) 2024-08-22 17:09:05 -04:00
services 🔖 feat: Enhance Bookmarks UX, add RBAC, toggle via librechat.yaml (#3747) 2024-08-22 17:09:05 -04:00
utils fix(staticCache): NODE_ENV check 2024-08-20 07:32:30 -04:00
index.js feat: Static File Caching (#3455) 2024-08-04 21:17:59 -04:00
socialLogins.js 🔊 fix(tts): NotAllowedError (mobile/safari), Unsupported MediaSource type (firefox), Hide Audio Element (#2854) 2024-05-24 12:18:11 -04:00