LibreChat/api/app/clients
madonchik123 d043a849a9
Added Reverse Proxy for Anthropic (#1106)
* Update AnthropicClient.js

Added BaseURL

* Update .env.example

Added ANTHROPIC_REVERSE_PROXY ENV

* Update initializeClient.js

Added Reverse_Proxy

* Update .env.example

* Update initializeClient.js

* Update AnthropicClient.js

* Update .env.example

Request

* Update initializeClient.js

Mae ANTHROPIC_REVERSE_PROXY let instead of const

* fix: lint errors, refactor(initializeClient)

* chore: change casing of reverseProxy

---------

Co-authored-by: Marco Beretta <81851188+Berry-13@users.noreply.github.com>
Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
2023-11-20 20:12:53 -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(OpenAIClient): AZURE_USE_MODEL_AS_DEPLOYMENT_NAME, AZURE_OPENAI_DEFAULT_MODEL (#1165) 2023-11-10 09:58:17 -05: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 feat: allow any reverse proxy URLs, add proxy support to model fetching (#1192) 2023-11-16 18:56:09 -05:00
tools feat: Add DALL-E reverse proxy settings and handle errors in image generation (#1173) 2023-11-13 11:05:59 -05:00
AnthropicClient.js Added Reverse Proxy for Anthropic (#1106) 2023-11-20 20:12:53 -05: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 feat: allow any reverse proxy URLs, add proxy support to model fetching (#1192) 2023-11-16 18:56:09 -05:00
PluginsClient.js feat: allow any reverse proxy URLs, add proxy support to model fetching (#1192) 2023-11-16 18:56:09 -05:00
TextStream.js refactor(plugins): Improve OpenAPI handling, Show Multiple Plugins, & Other Improvements (#845) 2023-08-28 12:03:08 -04:00