LibreChat/api/utils
Danny Avila 5ab9802aa9
fix(OpenAIClient): use official SDK to identify client and avoid false Rate Limit Error (#1161)
* chore: add eslint ignore unused var pattern

* feat: add extractBaseURL helper for valid OpenAI reverse proxies, with tests

* feat(OpenAIClient): add new chatCompletion using official OpenAI node SDK

* fix(ci): revert change to FORCE_PROMPT condition
2023-11-09 14:04:36 -05:00
..
azureUtils.js feat(azureOpenAI): Allow Switching Deployment Name by Model Name (#1137) 2023-11-04 15:03:31 -04:00
debug.js feat: ChatGPT Plugins/OpenAPI specs for Plugins Endpoint (#620) 2023-07-16 12:19:47 -04:00
extractBaseURL.js fix(OpenAIClient): use official SDK to identify client and avoid false Rate Limit Error (#1161) 2023-11-09 14:04:36 -05:00
extractBaseURL.spec.js fix(OpenAIClient): use official SDK to identify client and avoid false Rate Limit Error (#1161) 2023-11-09 14:04:36 -05:00
findMessageContent.js feat: ChatGPT Plugins/OpenAPI specs for Plugins Endpoint (#620) 2023-07-16 12:19:47 -04:00
index.js fix(OpenAIClient): use official SDK to identify client and avoid false Rate Limit Error (#1161) 2023-11-09 14:04:36 -05: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 chore: add token rate support for 11/06 models (#1146) 2023-11-06 15:26:16 -05:00
tokens.spec.js chore: add token rate support for 11/06 models (#1146) 2023-11-06 15:26:16 -05:00