Skip to content

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

fix(tinyflows): gate MODULE_ID import behind not(test)

Steven Enamakel07780d160fe2
diff --git a/crates/openhuman-core/src/modules/tinyflows.rs b/crates/openhuman-core/src/modules/tinyflows.rs
index fdafb4239f..5851e879df 100644
--- a/crates/openhuman-core/src/modules/tinyflows.rs
+++ b/crates/openhuman-core/src/modules/tinyflows.rs
@@ -42,7 +42,9 @@ pub(crate) fn disabled_message() -> String {
#[cfg(feature = "modules")]
mod imp {
- use super::{disabled_message, HOST_BUS_NAME, MODULE_ID};
+ #[cfg(not(test))]
+ use super::MODULE_ID;
+ use super::{disabled_message, HOST_BUS_NAME};
use crate::config::Config;
#[cfg(not(test))]
use crate::modules::ops;