Skip to content

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

fix(tools): pass audit log to install tool

Steven Enamakel04330f0949fb
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index 8fd7836cce..116f27eeab 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -158,7 +158,10 @@ pub fn all_tools_with_runtime_and_pack_handle(
// value ready to paste into a tool argument.
Box::new(ResolveTimeTool::new()),
Box::new(DetectToolsTool::new()),
- Box::new(InstallToolTool::new(security.clone())),
+ Box::new(InstallToolTool::with_audit(
+ security.clone(),
+ Arc::clone(&audit),
+ )),
]);
tools.extend(crate::cron::tools::tools(config.clone(), security));
#[cfg(feature = "flows")]