The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(delegate_graph): correct tool name in error messages
Steven Enamakel9c39ec96ded8
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/delegate_graph.rs b/crates/openhuman-core/src/agent/orchestration/tools/delegate_graph.rsindex bdd2a4b29f..dc85844b49 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/delegate_graph.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/delegate_graph.rs@@ -206,11 +206,11 @@ impl DelegateGraphTool {};let agent_id = match args.get("agent_id").and_then(|v| v.as_str()) {Some(s) if !s.trim().is_empty() => s.trim().to_string(),- _ => return Ok(ToolResult::error("delegate: `agent_id` is required.")),+ _ => return Ok(ToolResult::error("delegate_graph: `agent_id` is required.")),};let task = match args.get("task").and_then(|v| v.as_str()) {Some(s) if !s.trim().is_empty() => s.to_string(),- _ => return Ok(ToolResult::error("delegate: `task` is required.")),+ _ => return Ok(ToolResult::error("delegate_graph: `task` is required.")),};let max_revisions = args.get("max_revisions")@@ -222,7 +222,7 @@ impl DelegateGraphTool {Some(reg) => reg,None => {return Ok(ToolResult::error(- "delegate: agent definition registry not initialized.",+ "delegate_graph: agent definition registry not initialized.",));}};@@ -230,7 +230,7 @@ impl DelegateGraphTool {Some(def) => def.clone(),None => {return Ok(ToolResult::error(format!(- "delegate: agent definition '{agent_id}' not found in registry."+ "delegate_graph: agent definition '{agent_id}' not found in registry.")));}};@@ -240,7 +240,7 @@ impl DelegateGraphTool {Ok(cfg) => Arc::new(cfg),Err(e) => {return Ok(ToolResult::error(format!(- "delegate: failed to load config: {e}"+ "delegate_graph: failed to load config: {e}")));}};@@ -260,7 +260,7 @@ impl DelegateGraphTool {Ok(state) => {if state.cancelled {return Ok(ToolResult::error(format!(- "delegate cancelled for '{agent_id}'."+ "delegate_graph cancelled for '{agent_id}'.")));}let final_output = state@@ -277,7 +277,7 @@ impl DelegateGraphTool {)))}Err(e) => Ok(ToolResult::error(format!(- "delegate failed for '{agent_id}': {e}"+ "delegate_graph failed for '{agent_id}': {e}"))),}}