mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
Removing an MCP server caused useMCPServerHealth to receive a new serverIds array (one fewer item), which changed the React Query key and triggered a fresh health check for every remaining server. Fix: remove serverIds from the hook's signature and query key entirely. The hook now uses a stable, constant key and always fetches health for all servers. The 30-second polling interval is unaffected, and the serversWithHealth merge already ignores health data for deleted servers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||