Skip to content

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

fix(attachments): limit path helper import to tests

Danny Warde922881139bd
diff --git a/crates/openhuman-core/src/agent/attachments/provider.rs b/crates/openhuman-core/src/agent/attachments/provider.rs
index 5d6ac8900a..1840f54670 100644
--- a/crates/openhuman-core/src/agent/attachments/provider.rs
+++ b/crates/openhuman-core/src/agent/attachments/provider.rs
@@ -413,7 +413,7 @@ fn is_local_reference(source: &str) -> bool {
#[path = "provider_open.rs"]
pub(crate) mod open;
-#[cfg(any(test, windows))]
+#[cfg(test)]
use open::normalize_windows_path_for_comparison;
use open::secure_open;