Files
LibreChat/api/models
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
..
2024-05-28 08:27:45 -04:00
2024-06-20 20:24:32 -04:00
2023-12-14 07:49:27 -05:00
2024-06-05 19:35:12 -04:00
2024-08-18 00:23:38 -04:00
2024-08-18 00:23:38 -04:00
2024-08-17 03:24:09 -04:00
2024-06-20 20:24:32 -04:00
2024-06-27 17:34:48 -04:00
2024-08-18 00:23:38 -04:00
2024-08-17 03:24:09 -04:00
2024-08-17 03:24:09 -04:00
2024-06-07 15:06:47 -04:00