LibreChat/packages/api/src
Dustin Healy 9ca1847535
🔧 refactor: customUserVar Error Normalization (#8950)
* fix: localization string had unused template var

* fix: add normalizeHttpError to hopefully stop UI hangs when an error is returned in UserController

- Ensures updateUserPluginsController always returns valid HTTP status codes instead of undefined
- Add normalizeHttpError() helper to safely extract status/message from errors
- Default to 400 status code when Error.status is undefined/invalid

* refactor: move normalizeHttpError to packages/api
2025-08-08 15:53:04 -04:00
..
agents feat: Add OpenAI Verbosity Parameter (#8929) 2025-08-07 20:49:40 -04:00
crypto 🪐 feat: MCP OAuth 2.0 Discovery Support (#7924) 2025-06-17 13:50:33 -04:00
endpoints feat: Add OpenAI Verbosity Parameter (#8929) 2025-08-07 20:49:40 -04:00
files 🧹 feat: Automatic File Cleanup for Mistral OCR Uploads (#8827) 2025-08-03 17:11:14 -04:00
flow 🪐 feat: MCP OAuth 2.0 Discovery Support (#7924) 2025-06-17 13:50:33 -04:00
format ♻️ refactor: formatContentStrings to support AI and System messages (#8528) 2025-07-17 19:19:37 -04:00
mcp 🧹 feat: Automatic File Cleanup for Mistral OCR Uploads (#8827) 2025-08-03 17:11:14 -04:00
middleware 🧹 feat: Automatic File Cleanup for Mistral OCR Uploads (#8827) 2025-08-03 17:11:14 -04:00
oauth 🪐 feat: MCP OAuth 2.0 Discovery Support (#7924) 2025-06-17 13:50:33 -04:00
types 🔄 refactor: Select OpenRouter LLM Class Dynamically by baseURL (#8898) 2025-08-06 19:26:40 -04:00
utils 🔧 refactor: customUserVar Error Normalization (#8950) 2025-08-08 15:53:04 -04:00
web 🔥 feat: Add Firecrawl Scraper Configurability (#8495) 2025-07-18 22:37:57 -04:00
index.ts 🔥 feat: Add Firecrawl Scraper Configurability (#8495) 2025-07-18 22:37:57 -04:00