Skip to content

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

chore(agent): gate RouterScope::workspace_dir behind cfg(test)

Steven Enamakel86bc8fee26f6
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions.rs b/crates/openhuman-core/src/agent/orchestration/background_completions.rs
index bfc548b6ad..7b2717e989 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_completions.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_completions.rs
@@ -81,6 +81,7 @@ pub(super) struct RouterScope {
}
impl RouterScope {
+ #[cfg(test)]
pub(super) fn workspace_dir(&self) -> &Path {
&self.workspace_dir
}