Skip to content

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

test(agent_harness_e2e): update import paths for refactored agent harness types

Steven Enamakel876a08b09b82
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 1571f2d645..1aa6a32603 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -2313,7 +2313,9 @@ async fn multi_hop_delegation_chain_inner() {
mod streaming_support {
use async_trait::async_trait;
- use openhuman_core::agent::harness::{AgentDefinition, AgentDefinitionRegistry, ToolScope};
+ use openhuman_core::agent::harness::definition::{
+ AgentDefinition, AgentDefinitionRegistry, ToolScope as DefinitionToolScope,
+ };
use openhuman_core::agent::OpenHumanSessionHost;
use openhuman_core::config::{AgentConfig, ContextConfig};
use openhuman_core::memory::Memory;
@@ -2510,7 +2512,7 @@ mod streaming_support {
.cloned()
.expect("built-in orchestrator definition");
def.id = "round17/orchestrator".to_string();
- def.tools = ToolScope::Wildcard;
+ def.tools = DefinitionToolScope::Wildcard;
def.disallowed_tools.clear();
Arc::new(def)
}