mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
refactor(mcp): drop control-flow comment in import registry refresh
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
f814085354
commit
3b1266260e
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue