Skip to content

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

chore: remove unused deferred_tools parameter from multiple functions

Steven Enamakelc4694219987f
diff --git a/crates/openhuman-core/src/agent/harness/graph.rs b/crates/openhuman-core/src/agent/harness/graph.rs
index 339b1d9796..cb3eb3fe2c 100644
--- a/crates/openhuman-core/src/agent/harness/graph.rs
+++ b/crates/openhuman-core/src/agent/harness/graph.rs
@@ -49,7 +49,6 @@ pub(crate) async fn run_channel_turn_via_graph(
history: &mut Vec<ChatMessage>,
tools_registry: Arc<Vec<Box<dyn Tool>>>,
extra_tools: Vec<Box<dyn Tool>>,
- deferred_tools: Vec::new(),
visible_tool_names: Option<&HashSet<String>>,
model: &str,
temperature: f64,
diff --git a/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rs b/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rs
index 89590a8d79..0391928a3d 100644
--- a/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rs
+++ b/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rs
@@ -60,7 +60,6 @@ pub fn render_subagent_system_prompt(
allowed_indices: &[usize],
parent_tools: &[Box<dyn tinytools::Tool>],
extra_tools: &[Box<dyn tinytools::Tool>],
- deferred_tools: Vec::new(),
archetype_body: &str,
options: SubagentRenderOptions,
tool_call_format: ToolCallFormat,
@@ -99,7 +98,6 @@ pub fn render_subagent_system_prompt_with_format(
allowed_indices: &[usize],
parent_tools: &[Box<dyn tinytools::Tool>],
extra_tools: &[Box<dyn tinytools::Tool>],
- deferred_tools: Vec::new(),
archetype_body: &str,
options: SubagentRenderOptions,
tool_call_format: ToolCallFormat,
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/routing.rs b/crates/openhuman-core/src/channels/runtime/dispatch/routing.rs
index 22fb7a1612..c5d74e0304 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/routing.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/routing.rs
@@ -225,7 +225,6 @@ pub(super) fn connected_with_fallback(
pub(super) fn build_visible_tool_set(
definition: &AgentDefinition,
extra_tools: &[Box<dyn Tool>],
- deferred_tools: Vec::new(),
) -> Option<HashSet<String>> {
match &definition.tools {
ToolScope::Wildcard => None,