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/builder/mod.rs

Steven Enamakeld284ccb4d709
diff --git a/src/openhuman/agent/harness/session/builder/mod.rs b/src/openhuman/agent/harness/session/builder/mod.rs
index ced52c2f6d..5e37e21d0f 100644
--- a/src/openhuman/agent/harness/session/builder/mod.rs
+++ b/src/openhuman/agent/harness/session/builder/mod.rs
@@ -36,9 +36,7 @@ use std::sync::Arc;
/// implementation: the main agent holds `Arc<ToolSpec>` (the three spec views
/// share their leaves), while the sub-agent assembly still materialises owned
/// `ToolSpec`s for the public `AgentTurnRequest`.
-pub(crate) fn dedup_visible_tool_specs<S: std::borrow::Borrow<ToolSpec>>(
- specs: Vec<S>,
-) -> Vec<S> {
+pub(crate) fn dedup_visible_tool_specs<S: std::borrow::Borrow<ToolSpec>>(specs: Vec<S>) -> Vec<S> {
let mut seen: std::collections::HashSet<String> = std::collections::HashSet::new();
let mut deduped: Vec<S> = Vec::with_capacity(specs.len());
let mut dropped: Vec<String> = Vec::new();