Skip to content

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

fix(agent): handle missing graph node in subagent runner

Steven Enamakelaba1ef8b43c5
diff --git a/crates/openhuman-core/src/agent/harness/subagent_runner/ops/graph.rs b/crates/openhuman-core/src/agent/harness/subagent_runner/ops/graph.rs
index f4d51ec943..ac549b75a4 100644
--- a/crates/openhuman-core/src/agent/harness/subagent_runner/ops/graph.rs
+++ b/crates/openhuman-core/src/agent/harness/subagent_runner/ops/graph.rs
@@ -61,6 +61,8 @@ use crate::tools::Tool;
use std::collections::HashSet;
#[cfg(test)]
use std::sync::Arc;
+#[cfg(test)]
+use worker_mirror::{mirror_worker_thread, mirror_worker_thread_from_history};
#[cfg(test)]
#[path = "graph_tests.rs"]