Skip to content

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

chore(host_gates): gate test-only re-export behind cfg(test)

Steven Enamakel0ce6b6f52583
diff --git a/crates/openhuman-core/src/flows/host_gates/mod.rs b/crates/openhuman-core/src/flows/host_gates/mod.rs
index 60e0dd7d68..083df9ec74 100644
--- a/crates/openhuman-core/src/flows/host_gates/mod.rs
+++ b/crates/openhuman-core/src/flows/host_gates/mod.rs
@@ -6,7 +6,9 @@ mod tool_contracts;
mod upload_paths;
pub(crate) use agent_refs::validate_agent_refs;
-pub(crate) use connections::{validate_connection_refs, validate_connection_refs_against};
+pub(crate) use connections::validate_connection_refs;
+#[cfg(test)]
+pub(crate) use connections::validate_connection_refs_against;
pub(crate) use tool_contracts::validate_tool_contracts;
pub(crate) use upload_paths::validate_upload_paths;