refactor(mcp): drop redundant wildcard check in convert_row

Co-Authored-By: bot_apk <apk@cognition.ai>
This commit is contained in:
Devin AI 2026-09-25 06:20:38 +00:00
parent 27207bae53
commit 5e2cfb2333

View file

@ -150,7 +150,6 @@ def convert_row(
for server_id, inventory in inventories.items()
if (server_id not in legacy or legacy[server_id])
and server_id not in wildcard_servers
and MCP_ALL_TOOLS_WILDCARD not in (legacy.get(server_id) or ())
}
)
overrides: Final[Mapping[str, MCPToolOverrideEntry]] = MappingProxyType(