From 3b1266260e65aa124c7942fc22ae7b2cdfb31d91 Mon Sep 17 00:00:00 2001 From: yassin Date: Thu, 27 Aug 2026 01:41:59 +0000 Subject: [PATCH] refactor(mcp): drop control-flow comment in import registry refresh Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/proxy/management_endpoints/mcp_management_endpoints.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/litellm/proxy/management_endpoints/mcp_management_endpoints.py b/litellm/proxy/management_endpoints/mcp_management_endpoints.py index 6583d5405f8..7fe6aa9384c 100644 --- a/litellm/proxy/management_endpoints/mcp_management_endpoints.py +++ b/litellm/proxy/management_endpoints/mcp_management_endpoints.py @@ -1705,8 +1705,6 @@ if MCP_AVAILABLE: imported: Final = tuple(entry for entry in outcomes if isinstance(entry, MCPConnectorImportResult)) if imported: - # Best-effort registry refresh, mirroring add_mcp_server: rows are - # already committed, so a refresh failure must not surface as a 500. try: await global_mcp_server_manager.reload_servers_from_database() except Exception as e: # noqa: BLE001 # rows are committed; a refresh failure must not surface as a 500