LibreChat/api/utils
Danny Avila 6f0eb35365
🐞 fix: Balance and Token Usage Improvements (#2350)
* fix(processModelData): handle `openrouter/auto` edge case

* fix(Tx.create): prevent negative multiplier edge case and prevent balance from becoming negative

* fix(NavLinks): render 0 balance properly

* refactor(NavLinks): show only up to 2 decimal places for balance

* fix(OpenAIClient/titleConvo): fix cohere condition and record token usage for `this.options.titleMethod === 'completion'`
2024-04-07 23:28:40 -04:00
..
azureUtils.js 🔬 chore: Add Circular Dependency Check to backend-review (#2149) 2024-03-20 12:15:42 -04:00
azureUtils.spec.js 🅰️ feat: Azure OpenAI Assistants API Support (#1992) 2024-03-14 17:21:42 -04:00
debug.js feat: ChatGPT Plugins/OpenAPI specs for Plugins Endpoint (#620) 2023-07-16 12:19:47 -04:00
extractBaseURL.js 🧠 feat: Cohere support as Custom Endpoint (#2328) 2024-04-05 15:19:41 -04:00
extractBaseURL.spec.js 🪶 feat: Add Support for Azure OpenAI Base URL (#1596) 2024-01-19 14:57:03 -05:00
findMessageContent.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
index.js 🐳 feat: RAG for Default Docker Compose Files + Docs Update (#2246) 2024-03-29 21:15:36 -04:00
loadYaml.js 🔧 fix: langchain packages mismatch, mount config file for deploy-compose.yaml, silence config not found error (#1481) 2024-01-03 10:59:38 -05:00
logAxiosError.js 🐳 feat: RAG for Default Docker Compose Files + Docs Update (#2246) 2024-03-29 21:15:36 -04:00
logger.js feat: Logins log for Fail2Ban (#986) 2023-09-24 12:18:10 -04:00
LoggingSystem.js feat: Logins log for Fail2Ban (#986) 2023-09-24 12:18:10 -04:00
tokens.js 🐞 fix: Balance and Token Usage Improvements (#2350) 2024-04-07 23:28:40 -04:00
tokens.spec.js 🪙 fix(getModelMaxTokens): Retrieve Correct Context Tokens for Azure OpenAI (#1710) 2024-02-02 23:53:50 -05:00