LibreChat/api/server
Danny Avila 2dd545eaa4
fix(OpenAIClient/PluginsClient): allow non-v1 reverse proxy, handle "v1/completions" reverse proxy (#1029)
* fix(OpenAIClient): handle completions request in reverse proxy, also force prompt by env var

* fix(reverseProxyUrl): allow url without /v1/ but add server warning as it will not be compatible with plugins

* fix(ModelService): handle reverse proxy without v1

* refactor: make changes cleaner

* ci(OpenAIClient): add tests for OPENROUTER_API_KEY, FORCE_PROMPT, and reverseProxyUrl handling in setOptions
2023-10-08 16:57:25 -04:00
..
controllers feat: bun api support 🥟 (#1021) 2023-10-07 11:16:06 -04:00
middleware feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
routes feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
services fix(OpenAIClient/PluginsClient): allow non-v1 reverse proxy, handle "v1/completions" reverse proxy (#1029) 2023-10-08 16:57:25 -04:00
utils feat: bun api support 🥟 (#1021) 2023-10-07 11:16:06 -04:00
index.js feat: bun api support 🥟 (#1021) 2023-10-07 11:16:06 -04:00
socialLogins.js Fix Meilisearch error and refactor of the server index.js (#832) 2023-08-24 15:59:11 -04:00