Skip to content

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

test(subagent-host): update graph test call sites for paired options

Steven Enamakeldd5ec51268a6
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rs
index 67923c297c..e24beeaa72 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rs
@@ -94,8 +94,7 @@ async fn failed_subagent_run_keeps_its_unanswered_round_out_of_history() {
vec![],
allowed,
10,
- None,
- None,
+ (None, None),
None,
"researcher",
"task-failed",
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs
index 9f1c202f03..e40492a67a 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs
@@ -129,8 +129,7 @@ async fn run_with_spawn_tool_in_parent_surface(allowed: HashSet<String>) -> (boo
vec![],
allowed,
10,
- None,
- None,
+ (None, None),
None,
"researcher",
"task-6157",
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs
index bbf578fda9..c55a5ffd81 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs
@@ -270,8 +270,7 @@ async fn explicit_worker_thread_replaces_parent_for_model_run_and_transcript() {
vec![],
HashSet::new(),
2,
- None,
- None,
+ (None, None),
None,
"researcher",
"worker-task",
@@ -316,8 +315,7 @@ async fn subagent_runs_through_the_graph_engine_with_real_tools() {
vec![],
allowed,
10,
- None,
- None,
+ (None, None),
None,
"researcher",
"task-1",
@@ -403,8 +401,7 @@ async fn child_text_and_thinking_deltas_are_scoped_to_the_subagent() {
vec![],
HashSet::new(),
4,
- None,
- None,
+ (None, None),
Some(tx),
"researcher",
"task-7",
@@ -540,8 +537,7 @@ async fn ask_user_clarification_pauses_and_surfaces_the_question() {
vec![],
allowed,
10,
- None,
- None,
+ (None, None),
None,
"researcher",
"task-9",
@@ -633,8 +629,7 @@ async fn cap_hit_summarizes_a_resumable_checkpoint() {
vec![],
allowed,
2,
- None,
- None,
+ (None, None),
None,
"researcher",
"task-cap",