LibreChat/api/app/clients
Danny Avila 14ddfec9b7
🧹 chore: address minor issues (#3710)
* refactor(OpenAIClient): improve error handling in chat completion

Improve error handling in the chat completion process to handle scenarios where the response has no choices or the message is undefined. This ensures that the intermediate reply is returned in such cases. Also, add logging statements for better debugging.

* refactor(Markdown): only show blinking cursor for latest message

* refactor: add submitting selector to prevent blinking cursor for empty, non-streaming, non-latest messages
2024-08-20 07:00:43 -04:00
..
agents 🧹 chore: clean commented code (#3160) 2024-06-23 18:13:01 -04:00
callbacks fix: Avoid Throwing Errors for Unsupported Token Count Endpoints 🪙 (#1356) 2023-12-15 02:40:15 -05:00
chains refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
document feat: ConversationSummaryBufferMemory (#973) 2023-09-26 21:02:28 -04:00
llm 💾 feat: Anthropic Prompt Caching (#3670) 2024-08-17 03:24:09 -04:00
memory refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
output_parsers 🖼️ fix: correct image extraction (#3538) 2024-08-04 20:53:11 -04:00
prompts 🐛 fix: Anthropic Prompt Caching Edge Case (#3690) 2024-08-18 19:03:03 -04:00
specs 💾 feat: Anthropic Prompt Caching (#3670) 2024-08-17 03:24:09 -04:00
tools 🔧 fix: API Key Handling for GoogleSearch and TavilySearch Tools (#3541) 2024-08-05 19:29:16 -04:00
AnthropicClient.js 🤖 refactor: Remove Default Model Params for All Endpoints (#3682) 2024-08-18 06:00:03 -04:00
BaseClient.js 💾 feat: Anthropic Prompt Caching (#3670) 2024-08-17 03:24:09 -04:00
ChatGPTClient.js 🛠️ refactor: Improve Logging and Error Handling in ToolService and useSSE (#2922) 2024-05-30 12:58:43 -04:00
GoogleClient.js 🤖 refactor: Remove Default Model Params for All Endpoints (#3682) 2024-08-18 06:00:03 -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
OllamaClient.js ⚙️ feat: Adjust Rate of Stream Progress (#3244) 2024-07-17 10:47:17 -04:00
OpenAIClient.js 🧹 chore: address minor issues (#3710) 2024-08-20 07:00:43 -04:00
PluginsClient.js ⚙️ feat: Adjust Rate of Stream Progress (#3244) 2024-07-17 10:47:17 -04:00
TextStream.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00