Skip to content

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

chore: files changed src/openhuman/agent/harness/session/turn/tools.rs,src/openhuman/agent/orchestra

Steven Enamakel57f095eb252c
diff --git a/src/openhuman/agent/harness/session/turn/tools.rs b/src/openhuman/agent/harness/session/turn/tools.rs
index a66138892b..05c0412f9a 100644
--- a/src/openhuman/agent/harness/session/turn/tools.rs
+++ b/src/openhuman/agent/harness/session/turn/tools.rs
@@ -550,9 +550,7 @@ impl Agent {
// would leak stale instances on every refresh.
let advertised_names: std::collections::HashSet<String> = synthed
.iter()
- .filter(|t| {
- t.exposure() != crate::openhuman::tools::traits::ToolExposure::Hidden
- })
+ .filter(|t| t.exposure() != crate::openhuman::tools::traits::ToolExposure::Hidden)
.map(|t| t.name().to_string())
.collect();
let synthed_specs: Vec<crate::openhuman::tools::ToolSpec> =
diff --git a/src/openhuman/agent/orchestration/tools.rs b/src/openhuman/agent/orchestration/tools.rs
index 488e1facff..58a3589e60 100644
--- a/src/openhuman/agent/orchestration/tools.rs
+++ b/src/openhuman/agent/orchestration/tools.rs
@@ -4,10 +4,10 @@ mod agent_prepare_context;
mod archetype_delegation;
#[path = "tools/awaiting_user.rs"]
mod awaiting_user;
-#[path = "tools/collapsed_delegation.rs"]
-mod collapsed_delegation;
#[path = "tools/close_subagent.rs"]
mod close_subagent;
+#[path = "tools/collapsed_delegation.rs"]
+mod collapsed_delegation;
#[path = "tools/continue_subagent.rs"]
mod continue_subagent;
#[path = "tools/delegate_graph.rs"]
diff --git a/src/openhuman/tools/orchestrator_tools.rs b/src/openhuman/tools/orchestrator_tools.rs
index 4fb2f11436..7621ad8f5c 100644
--- a/src/openhuman/tools/orchestrator_tools.rs
+++ b/src/openhuman/tools/orchestrator_tools.rs
@@ -424,9 +424,7 @@ mod tests {
// someone re-exposing a member and silently shipping both surfaces.
let advertised: Vec<&str> = tools
.iter()
- .filter(|t| {
- t.exposure() != crate::openhuman::tools::traits::ToolExposure::Hidden
- })
+ .filter(|t| t.exposure() != crate::openhuman::tools::traits::ToolExposure::Hidden)
.map(|t| t.name())
.collect();
assert_eq!(