Skip to content

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

test: fix test imports in orchestration tools tests

Steven Enamakelfec963aaf0be
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread_tests.rs
index 2269109022..7e6b06ca01 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread_tests.rs
@@ -119,7 +119,7 @@ async fn rejects_agent_outside_parent_allowlist() {
let temp = TempDir::new().unwrap();
let parent = test_parent_ctx(temp.path().to_path_buf());
- let live = super::live_parent_run_context("worker-allowlist-test", parent);
+ let live = crate::agent::orchestration::tools::live_parent_run_context("worker-allowlist-test", parent);
let tool = SpawnWorkerThreadTool::new();
let result = tool
.execute_with_live_parent_context(
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
index 4a69a39774..52da93d325 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
@@ -12,7 +12,6 @@ use tinyagents_harness::context::RunConfig;
use tinyagents_session::transcript::TranscriptMessage;
use tinyinference_llm::message::Message;
use tinyinference_llm::model::{ChatModel, ModelProfile, ModelRequest, ModelResponse};
-use tinytools::Tool;
use tinytools_agent::dialect::ToolCallFormat;
const SPAWN_SUBAGENT_CANARY: &str = "tool-e2e-spawn-subagent-canary";