LibreChat/api/utils
Danny Avila d7ef4590ea
🔧 Fix: Resolve Anthropic Client Issues 🧠 (#1226)
* fix: correct preset title for Anthropic endpoint

* fix(Settings/Anthropic): show correct default value for LLM temperature

* fix(AnthropicClient): use `getModelMaxTokens` to get the correct LLM max context tokens, correctly set default temperature to 1, use only 2 params for class constructor, use `getResponseSender` to add correct sender to response message

* refactor(/api/ask|edit/anthropic): save messages to database after the final response is sent to the client, and do not save conversation from route controller

* fix(initializeClient/anthropic): correctly pass client options (endpointOption) to class initialization

* feat(ModelService/Anthropic): add claude-1.2
2023-11-26 14:44:57 -05:00
..
azureUtils.js feat(OpenAIClient): AZURE_USE_MODEL_AS_DEPLOYMENT_NAME, AZURE_OPENAI_DEFAULT_MODEL (#1165) 2023-11-10 09:58:17 -05:00
debug.js feat: ChatGPT Plugins/OpenAPI specs for Plugins Endpoint (#620) 2023-07-16 12:19:47 -04:00
extractBaseURL.js feat: allow any reverse proxy URLs, add proxy support to model fetching (#1192) 2023-11-16 18:56:09 -05:00
extractBaseURL.spec.js feat: allow any reverse proxy URLs, add proxy support to model fetching (#1192) 2023-11-16 18:56:09 -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 🔧 Fix: Resolve Anthropic Client Issues 🧠 (#1226) 2023-11-26 14:44:57 -05:00
tokens.spec.js 🔧 Fix: Resolve Anthropic Client Issues 🧠 (#1226) 2023-11-26 14:44:57 -05:00