Skip to content

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

test(tinyagents): pass None run context to typed_dispatch_for

Steven Enamakel24e96c8b2275
diff --git a/crates/openhuman-core/src/agent/tinyagents/tool_registration_tests.rs b/crates/openhuman-core/src/agent/tinyagents/tool_registration_tests.rs
index b85b6daa68..3c0ed09d8b 100644
--- a/crates/openhuman-core/src/agent/tinyagents/tool_registration_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/tool_registration_tests.rs
@@ -191,7 +191,7 @@ async fn registered_memory_dispatch_enforces_one_budget_across_distinct_calls()
crate::memory::tools::MemoryTool::new(Arc::new(config.clone())),
)]);
let adapter = shared_tool_adapter(vec![tools], "memory").unwrap();
- let dispatch = typed_dispatch_for("memory", Arc::new(adapter))
+ let dispatch = typed_dispatch_for("memory", Arc::new(adapter), None)
.expect("memory registration must preserve the harness run context");
let parent = OpenHumanRunContext::new().into_tinyagents(RunConfig::new("memory-dispatch"));
for index in 0..9 {