Skip to content

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

test(agent-harness): pass dispatch context to fire_hooks

Steven Enamakel627f95864d05
diff --git a/tests/in_process/agent_harness_public.rs b/tests/in_process/agent_harness_public.rs
index d38f05a922..f0dc1f9838 100644
--- a/tests/in_process/agent_harness_public.rs
+++ b/tests/in_process/agent_harness_public.rs
@@ -72,7 +72,11 @@ async fn fire_hooks_dispatches_all_hooks_even_when_one_fails() {
}),
];
- fire_hooks(&hooks, sample_turn());
+ fire_hooks(
+ &hooks,
+ &openhuman_core::core::runtime::DispatchCtx::unbound(),
+ sample_turn(),
+ );
tokio::time::timeout(std::time::Duration::from_secs(1), async {
loop {