Skip to content

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

test(openhuman-embed): gate link_tinyflows helper behind modules feature

Steven Enamakel231a5b1cc2eb
diff --git a/crates/openhuman-embed/tests/common/mod.rs b/crates/openhuman-embed/tests/common/mod.rs
index 7733babe5b..c22bd41c96 100644
--- a/crates/openhuman-embed/tests/common/mod.rs
+++ b/crates/openhuman-embed/tests/common/mod.rs
@@ -63,6 +63,7 @@ pub fn offline_config() -> Config {
/// here, with a config that asks for `linked`: the resolution slot is
/// process-wide, so every later caller (a profile's own config included) sees
/// the linked module. Only this module changes source.
+#[cfg(feature = "modules")]
pub fn link_tinyflows(runtime: &tokio::runtime::Runtime) {
use openhuman_core::config::schema::{ModuleOverride, ModuleSourceMode};
openhuman_embed::modules::register_linked("tinyflows", tinyflows_module::linked_module);