LibreChat/api/app/clients
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
..
agents feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
callbacks feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
chains feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
document feat: ConversationSummaryBufferMemory (#973) 2023-09-26 21:02:28 -04:00
llm feat(azureOpenAI): Allow Switching Deployment Name by Model Name (#1137) 2023-11-04 15:03:31 -04:00
memory feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
output_parsers refactor(addImages): use in functions agent response and assure generated images are included in the response (#1120) 2023-10-29 15:36:00 -04:00
prompts fix(formatMessages): Conform Name Property to OpenAI Expected Regex (#1076) 2023-10-19 10:02:20 -04:00
specs fix(OpenAIClient): use official SDK to identify client and avoid false Rate Limit Error (#1161) 2023-11-09 14:04:36 -05:00
tools fix(OpenAIClient): use official SDK to identify client and avoid false Rate Limit Error (#1161) 2023-11-09 14:04:36 -05:00
AnthropicClient.js feat: ConversationSummaryBufferMemory (#973) 2023-09-26 21:02:28 -04:00
BaseClient.js refactor: add back getTokenCountForResponse for slightly more accurate mapping of responses token counts (#1067) 2023-10-17 06:42:58 -04:00
ChatGPTClient.js feat: ConversationSummaryBufferMemory (#973) 2023-09-26 21:02:28 -04:00
GoogleClient.js fix: Match OpenAI Token Counting Strategy 🪙 (#945) 2023-09-14 19:40:21 -04:00
index.js ci(backend-review.yml): add linter step to the backend review workflow (#625) 2023-07-14 09:36:49 -04:00
OpenAIClient.js fix(OpenAIClient): use official SDK to identify client and avoid false Rate Limit Error (#1161) 2023-11-09 14:04:36 -05:00
PluginsClient.js fix(OpenAIClient): use official SDK to identify client and avoid false Rate Limit Error (#1161) 2023-11-09 14:04:36 -05:00
TextStream.js refactor(plugins): Improve OpenAPI handling, Show Multiple Plugins, & Other Improvements (#845) 2023-08-28 12:03:08 -04:00