Skip to content

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

fix(mcp): wrap long condition to satisfy line width

Steven Enamakel5819ca9f5523
diff --git a/crates/openhuman-core/src/mcp/module_client.rs b/crates/openhuman-core/src/mcp/module_client.rs
index 3c7f1f0bfc..3e4346751e 100644
--- a/crates/openhuman-core/src/mcp/module_client.rs
+++ b/crates/openhuman-core/src/mcp/module_client.rs
@@ -431,7 +431,8 @@ impl McpConfiguredClient {
let Some(client) = Self::retire_cached_client(&key) else {
return Self::finish_cleanup(&key, None, reservation);
};
- if let Some(cleaned) = Self::finish_closed_client_synchronously(&key, &client, &reservation) {
+ if let Some(cleaned) = Self::finish_closed_client_synchronously(&key, &client, &reservation)
+ {
return cleaned;
}
Self::close_retired_client(key, client, reservation).await