LibreChat/api/server/services/Config
Danny Avila 2f92b54787
🔗 feat: User Provided Base URL for OpenAI endpoints (#1919)
* chore: bump browserslist-db@latest

* refactor(EndpointService): simplify with `generateConfig`, utilize optional baseURL for OpenAI-based endpoints, use `isUserProvided` helper fn wherever needed

* refactor(custom/initializeClient): use standardized naming for common variables

* feat: user provided baseURL for openAI-based endpoints

* refactor(custom/initializeClient): re-order operations

* fix: knownendpoints enum definition and add FetchTokenConfig, bump data-provider

* refactor(custom): use tokenKey dependent on userProvided conditions for caching and fetching endpointTokenConfig, anticipate token rates from custom config

* refactor(custom): assure endpointTokenConfig is only accessed from cache if qualifies for fetching

* fix(ci): update tests for initializeClient based on userProvideURL changes

* fix(EndpointService): correct baseURL env var for assistants: `ASSISTANTS_BASE_URL`

* fix: unnecessary run cancellation on res.close() when response.run is completed

* feat(assistants): user provided URL option

* ci: update tests and add test for `assistants` endpoint

* chore: leaner condition for request closing

* chore: more descriptive error message to provide keys again
2024-02-28 14:27:19 -05:00
..
EndpointService.js 🔗 feat: User Provided Base URL for OpenAI endpoints (#1919) 2024-02-28 14:27:19 -05:00
getCustomConfig.js 👤 feat: User ID in Model Query; chore: cleanup ModelService (#1753) 2024-02-08 10:06:58 -05:00
handleRateLimits.js feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
index.js 👤 feat: User ID in Model Query; chore: cleanup ModelService (#1753) 2024-02-08 10:06:58 -05:00
loadAsyncEndpoints.js 🔗 feat: User Provided Base URL for OpenAI endpoints (#1919) 2024-02-28 14:27:19 -05:00
loadConfigEndpoints.js 🅰️ feat: Azure Config to Allow Different Deployments per Model (#1863) 2024-02-26 14:12:25 -05:00
loadConfigModels.js 🅰️ feat: Azure Config to Allow Different Deployments per Model (#1863) 2024-02-26 14:12:25 -05:00
loadCustomConfig.js 🅰️ feat: Azure Config to Allow Different Deployments per Model (#1863) 2024-02-26 14:12:25 -05:00
loadDefaultEConfig.js 🅰️ feat: Azure Config to Allow Different Deployments per Model (#1863) 2024-02-26 14:12:25 -05:00
loadDefaultModels.js feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
loadOverrideConfig.js refactor: Speed up Config fetching and Setup Config Groundwork 👷🚧 (#1297) 2023-12-06 19:36:57 -05:00