Skip to content

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

test(tools): wrap anchor in ToolSourcePlacement::After

Steven Enamakel9335717644a8
diff --git a/crates/openhuman-core/src/tools/sources_tests.rs b/crates/openhuman-core/src/tools/sources_tests.rs
index b75f1f827f..a5f2b8aae6 100644
--- a/crates/openhuman-core/src/tools/sources_tests.rs
+++ b/crates/openhuman-core/src/tools/sources_tests.rs
@@ -193,7 +193,7 @@ fn media_files_roots_are_recorded_before_any_source_builds() {
let sink = Arc::clone(&seen);
register_tool_source_at(
"test::roots",
- ANCHOR_AFTER_SEARCH,
+ ToolSourcePlacement::After(ANCHOR_AFTER_SEARCH),
move |ctx| {
*sink.lock().unwrap() = Some(ctx.security.media_files_roots.lock().unwrap().is_some());
Vec::new()