LibreChat/api/server
Danny Avila bebfffb2d9
🛠️ fix: Custom Endpoint issues, Improve SSE Response Handling (#1510)
* fix(custom): prevent presets using removed custom endpoints from causing frontend errors

* refactor(abortMiddleware): send 204 status when abortController is not found/active, set expected header `application/json` when not set

* fix(useSSE): general improvements:
- Add endpointType to fetch URL in useSSE hook
- use EndpointURLs enum
- handle 204 response by setting `data` to initiated response
- add better error handling UX, make clear when there is an explicit error
2024-01-07 13:49:59 -05:00
..
controllers 🧪 feat: Experimental: Enable Switching Endpoints Mid-Conversation (#1483) 2024-01-03 19:17:42 -05:00
middleware 🛠️ fix: Custom Endpoint issues, Improve SSE Response Handling (#1510) 2024-01-07 13:49:59 -05:00
routes
services
utils
index.js
socialLogins.js