Skip to content

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

fix(skills): handle missing tool output gracefully

Steven Enamakela20cbffa634d
diff --git a/crates/openhuman-core/src/skills/tools.rs b/crates/openhuman-core/src/skills/tools.rs
index 10e2e45b38..1cd332776d 100644
--- a/crates/openhuman-core/src/skills/tools.rs
+++ b/crates/openhuman-core/src/skills/tools.rs
@@ -18,11 +18,15 @@
//! argument-parsing and allowlist helpers, [`read`] holds the read-only
//! tools, and [`write`] holds the mutating ones.
+#[cfg(test)]
use std::sync::Arc;
+#[cfg(test)]
use serde_json::json;
+#[cfg(test)]
use crate::config::Config;
+#[cfg(test)]
use crate::tools::traits::{PermissionLevel, Tool};
mod helpers;