Skip to content

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

fix(artifact_wiring): import tool_result_artifacts_dir under test cfg

Steven Enamakelb8e127c8fc7b
diff --git a/crates/openhuman-core/src/agent/session_host/artifact_wiring.rs b/crates/openhuman-core/src/agent/session_host/artifact_wiring.rs
index 67a98a6a78..f2136ca474 100644
--- a/crates/openhuman-core/src/agent/session_host/artifact_wiring.rs
+++ b/crates/openhuman-core/src/agent/session_host/artifact_wiring.rs
@@ -9,6 +9,8 @@ use std::path::{Path, PathBuf};
use crate::agent::harness::tool_result_artifacts::{
legacy_action_dir_store, new_tool_result_store,
};
+#[cfg(test)]
+use crate::security::policy::tool_result_artifacts_dir;
use tinyagents_harness::artifacts::tool_results::ToolResultArtifactStore;
/// How long another session's tool-result artifacts survive before a later