Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(tools): simplify debug log for MCP client server counts

Steven Enamakelea72a4131fac
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index 262735b18f..ea84c0843f 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -878,11 +878,12 @@ pub fn all_tools_with_runtime(
None => Arc::new(base),
}
};
- log::debug!(
- "[tools::ops][mcp_client] static registry servers={} configured={} enabled={}",
+ let (servers, configured) = (
mcp_registry.list().len(),
root_config.mcp_client.servers.len(),
- root_config.mcp_client.enabled
+ );
+ log::debug!(
+ "[tools::ops][mcp_client] static registry servers={servers} configured={configured}"
);
if !mcp_registry.is_empty() {
tools.push(Box::new(McpListServersTool::new(Arc::clone(&mcp_registry))));