add logging

This commit is contained in:
2026-01-26 17:56:34 +08:00
parent a11c00bbeb
commit 6b3dd8f5db

View File

@@ -262,6 +262,10 @@ class ClientToolManager:
if self.config.tool_keys is None:
to_load_config = self.mcp_configs
else:
if len(self.config.tool_keys) == 0:
logger.info("no tools will be loaded")
return {}
to_load_config = {}
for key in self.config.tool_keys:
val = self.mcp_configs.get(key)