LibreChat/packages
Danny Avila 221e49222d
refactor: Fast-Fail MCP Tool Discovery on 401 for Non-OAuth Servers (#12395)
* fix: fast-fail MCP discovery for non-OAuth servers on auth errors

Always attach oauthHandler in discoverToolsInternal regardless of
useOAuth flag. Previously, non-OAuth servers hitting 401 would hang
for 30s because connectClient's oauthHandledPromise had no listener
to emit oauthFailed, waiting until withTimeout killed it.

* chore: import order
2026-03-25 13:18:02 -04:00
..
api refactor: Fast-Fail MCP Tool Discovery on 401 for Non-OAuth Servers (#12395) 2026-03-25 13:18:02 -04:00
client 📁 refactor: Prompts UI (#11570) 2026-03-22 16:56:22 -04:00
data-provider 🧩 feat: Redesign Tool Call UI with Contextual Icons, Smart Grouping, and Rich Output Rendering (#12163) 2026-03-25 12:31:39 -04:00
data-schemas 📁 refactor: Prompts UI (#11570) 2026-03-22 16:56:22 -04:00