LibreChat/client/src/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
..
buildDefaultConvo.ts feat: OpenRouter Support & Improve Model Fetching ⇆ (#936) 2023-09-18 12:55:51 -04:00
buildTree.ts feat(GPT/Anthropic): Continue Regenerating & Generation Buttons (#808) 2023-08-17 12:50:05 -04:00
cleanupPreset.ts WIP: Update UI to match Official Style; Vision and Assistants 👷🏽 (#1190) 2023-11-16 10:42:24 -05:00
cn.ts feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
getDefaultEndpoint.ts feat: Order/disable endpoints with ENDPOINTS env var (#1206) 2023-11-22 13:56:38 -05:00
getLocalStorageItems.ts feat(GPT/Anthropic): Continue Regenerating & Generation Buttons (#808) 2023-08-17 12:50:05 -04:00
getLoginError.ts feat: Message Rate Limiters, Violation Logging, & Ban System 🔨 (#903) 2023-09-13 10:57:07 -04:00
index.ts WIP: Update UI to match Official Style; Vision and Assistants 👷🏽 (#1190) 2023-11-16 10:42:24 -05:00
json.ts feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
languages.ts refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
mapEndpoints.ts feat: Order/disable endpoints with ENDPOINTS env var (#1206) 2023-11-22 13:56:38 -05:00
presets.ts 🔧 Fix: Resolve Anthropic Client Issues 🧠 (#1226) 2023-11-26 14:44:57 -05:00
resetConvo.ts feat(GPT/Anthropic): Continue Regenerating & Generation Buttons (#808) 2023-08-17 12:50:05 -04:00
validateIframe.ts feat: stricter iframe validation 2023-09-07 07:18:35 -04:00