Skip to content

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

fix(tools): handle missing system tool module gracefully

Steven Enamakel73a3aeb97a6e
diff --git a/crates/openhuman-core/src/agent/tools.rs b/crates/openhuman-core/src/agent/tools.rs
index 3fddd687db..c8925f7e04 100644
--- a/crates/openhuman-core/src/agent/tools.rs
+++ b/crates/openhuman-core/src/agent/tools.rs
@@ -1,7 +1,7 @@
//! Agent-owned dialogue and control tools.
//!
-//! These tools act on the agent loop, its todo list, or the user's stored
-//! preferences rather than on files, memory, or the network. Wire names are
+//! These tools act on the agent loop or its todo list rather than on files,
+//! memory, or the network. Wire names are
//! given in parentheses where they differ from the type name:
//!
//! - `AskClarificationTool` (`ask_user_clarification`, from `tinyagents_harness::tools`) — returns the
@@ -12,10 +12,6 @@
//! - [`PlanExitTool`] — ends a plan-mode pass by returning the plan plus
//! [`PLAN_EXIT_MARKER`]. The mode switch itself lives outside the tool;
//! nothing in this crate consumes the marker yet.
-//! - [`RememberPreferenceTool`] — pins an explicit `(class, key, value)`
-//! preference into the `user_profile` memory namespace.
-//! [`SavePreferenceTool`] stores a free-form preference in either the
-//! `general` or `situational` lane.
//! - `RunWorkflowTool` / `AwaitWorkflowTool` — spawn a
//! `crate::skills::runtime` workflow run and wait on its outcome. Compiled
//! in only with the `skills` feature, so builds without it omit both tools
diff --git a/crates/openhuman-core/src/tools/impl/system/mod.rs b/crates/openhuman-core/src/tools/impl/system/mod.rs
index fb894c0021..700abe2929 100644
--- a/crates/openhuman-core/src/tools/impl/system/mod.rs
+++ b/crates/openhuman-core/src/tools/impl/system/mod.rs
@@ -29,7 +29,6 @@ pub use python_exec::PythonExecTool;
pub use retrieve_tool_output::{retrieve_tool_output_tool, RetrieveToolOutputTool};
pub use schedule::ScheduleTool;
pub use shell::ShellTool;
-pub use tool_stats::ToolStatsTool;
pub use update_apply::UpdateApplyTool;
pub use update_check::UpdateCheckTool;