Skip to content

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

fix(run_context): use fully qualified HashSet import

Steven Enamakel127441d76550
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs
index 8f54341174..3f8455f7ee 100644
--- a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs
@@ -293,7 +293,7 @@ pub struct OpenHumanRunContext {
/// `deferred_tools`). Turn assembly registers them as `Deferred`, so the
/// harness keeps them off the wire, indexes them for search and still
/// admits a call by name. Empty for every turn without such a list.
- pub(crate) deferred_tool_names: Arc<HashSet<String>>,
+ pub(crate) deferred_tool_names: Arc<std::collections::HashSet<String>>,
/// Context middleware snapshot prepared for this exact turn.
pub(crate) context_middleware: Option<TurnContextMiddleware>,
/// Model/harness sidecars consumed only after a durable commit.
@@ -346,7 +346,7 @@ impl OpenHumanRunContext {
tool_policy: None,
current_tools: None,
current_synthesized_tools: None,
- deferred_tool_names: Arc::new(HashSet::new()),
+ deferred_tool_names: Arc::new(std::collections::HashSet::new()),
context_middleware: None,
session_sidecar: Arc::new(Mutex::new(SessionTurnSidecar::default())),
required_output: None,