Skip to content

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

style: reformat mcp call expressions

Steven Enamakel5a643e78b00d
diff --git a/crates/openhuman-core/src/mcp/module_client.rs b/crates/openhuman-core/src/mcp/module_client.rs
index dfa4d45cc8..77deb2b2d9 100644
--- a/crates/openhuman-core/src/mcp/module_client.rs
+++ b/crates/openhuman-core/src/mcp/module_client.rs
@@ -198,7 +198,11 @@ impl McpModulePort for TinyMcpPort {
arguments: Option<Value>,
) -> Result<Map<String, Value>, ModuleCallError> {
self.root
- .call(MODULE, names::methods::NORMALIZE_TOOL_ARGUMENTS, (arguments,))
+ .call(
+ MODULE,
+ names::methods::NORMALIZE_TOOL_ARGUMENTS,
+ (arguments,),
+ )
.await
}
}
diff --git a/crates/openhuman-core/src/tools/impl/network/mcp.rs b/crates/openhuman-core/src/tools/impl/network/mcp.rs
index bc98c18327..0323b0154b 100644
--- a/crates/openhuman-core/src/tools/impl/network/mcp.rs
+++ b/crates/openhuman-core/src/tools/impl/network/mcp.rs
@@ -392,10 +392,7 @@ impl Tool for McpCallTool {
}
};
let client_config = host::client_config(&self.config);
- let arguments = match client
- .normalize_tool_arguments(arguments)
- .await
- {
+ let arguments = match client.normalize_tool_arguments(arguments).await {
Ok(arguments) => Value::Object(arguments),
Err(_) => {
let outcome = tinymcp_bus::McpCallOutcome::failed(