Skip to content

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

refactor(tools): inline goal_tools call

Steven Enamakel5ef339c231cc
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index de0304c67d..cefa56e30c 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -683,11 +683,7 @@ pub fn all_tools_with_runtime(
// thread is resolved from the ambient `thread_id`, so no thread arg is
// taken. `goal_get`/`goal_set`/`goal_complete` — pause/resume/budget are
// system-driven and have no model tool.
- {
- tools.extend(crate::agent::goals::goal_tools(
- &root_config.workspace_dir,
- ));
- }
+ tools.extend(crate::agent::goals::goal_tools(&root_config.workspace_dir));
#[cfg(feature = "modules")]
if browser_config.enabled {