Skip to content

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

fix(test): correct artifact directory path in threshold test

Steven Enamakelb4c7f0ff246a
diff --git a/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs b/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs
index 34a2370395..47335e3a03 100644
--- a/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs
+++ b/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs
@@ -18,7 +18,7 @@ async fn threshold_persists_outside_the_project_and_reads_back() {
std::fs::create_dir_all(&workspace).unwrap();
std::fs::create_dir_all(&project).unwrap();
let store = new_tool_result_store(
- crate::security::policy::tool_result_artifacts_dir(&workspace),
+ workspace.join("artifacts"),
"session/one",
);
let raw = format!(