Skip to content

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

chore(agent): gate test-only import behind cfg(test)

Steven Enamakel4205e6fc055b
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 c5bc27e2f3..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,7 @@ 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;