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/context.rs,src/openhuman/agent/orchest

Steven Enamakel035345ee77da
diff --git a/src/openhuman/agent/harness/session/turn/context.rs b/src/openhuman/agent/harness/session/turn/context.rs
index 4323fe8c6d..f299f5c059 100644
--- a/src/openhuman/agent/harness/session/turn/context.rs
+++ b/src/openhuman/agent/harness/session/turn/context.rs
@@ -287,7 +287,7 @@ impl Agent {
// `&[ToolSpec]`. Materialise a borrow-slice for the call: this is one
// transient copy per system-prompt build, not a per-agent resident one,
// and keeping it here is what lets the trait stay source-compatible.
- let visible_specs_owned: Vec<ToolSpec> = self
+ let visible_specs_owned: Vec<crate::openhuman::tools::ToolSpec> = self
.visible_tool_specs
.iter()
.map(|spec| spec.as_ref().clone())
diff --git a/src/openhuman/agent/orchestration/tools/agent_prepare_context_part_01.rs b/src/openhuman/agent/orchestration/tools/agent_prepare_context_part_01.rs
index 9ec46931c6..2b55fab966 100644
--- a/src/openhuman/agent/orchestration/tools/agent_prepare_context_part_01.rs
+++ b/src/openhuman/agent/orchestration/tools/agent_prepare_context_part_01.rs
@@ -584,7 +584,8 @@ impl AgentPrepareContextTool {
return String::new();
};
let visible = &parent.visible_tool_names;
- let specs: &[Arc<crate::openhuman::tools::ToolSpec>] = if parent.visible_tool_specs.is_empty()
+ let specs: &[std::sync::Arc<crate::openhuman::tools::ToolSpec>] =
+ if parent.visible_tool_specs.is_empty()
{
&parent.all_tool_specs
} else {