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
chore(orchestration): remove unused skill_filter parameter from delegation functions
Steven Enamakel22500b3dadd2
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation.rs b/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation.rsindex 2f5f230b42..b806c09438 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation.rs@@ -255,7 +255,6 @@ pub(crate) async fn execute_archetype_delegation_with_live_parent(agent_id,tool_name,&prompt,- None,model_override,tool_context,mode,diff --git a/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation.rs b/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation.rsindex 55a2cce0c8..7c0e1924a0 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/collapsed_delegation.rs@@ -401,7 +401,6 @@ pub(crate) async fn execute_collapsed_delegation_with_live_parent(&target.agent_id,&target.tool_name,&prompt,- None,model_override,tool_context,mode,diff --git a/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rsindex 0692dc4b7d..a14e87b74d 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs@@ -148,12 +148,6 @@ impl ContinueSubagentTool {"task_key": session.task_key.clone(),"task_title": session.task_title.clone(),});- if let (Some(obj), Some(toolkit)) = (async_args.as_object_mut(), &session.toolkit) {- obj.insert(- "toolkit".to_string(),- serde_json::Value::String(toolkit.clone()),- );- }if let (Some(obj), Some(model)) = (async_args.as_object_mut(), &session.model) {obj.insert("model".to_string(),@@ -451,7 +445,6 @@ impl ContinueSubagentTool {}let options = SubagentRunOptions {skill_filter_override: checkpoint.skill_filter_override,- toolkit_override: checkpoint.toolkit_override,context: None,model_override: checkpoint.model_override,task_id: Some(task_id.clone()),diff --git a/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs b/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rsindex baf0db9a87..9dece76525 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs@@ -150,7 +150,6 @@ pub(crate) async fn dispatch_subagent(agent_id: &str,tool_name: &str,prompt: &str,- skill_filter: Option<&str>,model_override: Option<&str>,tool_context: Option<&dyn ToolRunContext>,mode: DispatchMode,@@ -160,7 +159,6 @@ pub(crate) async fn dispatch_subagent(agent_id,tool_name,prompt,- skill_filter,model_override,tool_context,mode,@@ -177,7 +175,6 @@ pub(crate) async fn dispatch_subagent_with_live_parent(agent_id: &str,tool_name: &str,prompt: &str,- skill_filter: Option<&str>,model_override: Option<&str>,tool_context: Option<&dyn ToolRunContext>,mode: DispatchMode,@@ -298,12 +295,6 @@ pub(crate) async fn dispatch_subagent_with_live_parent(serde_json::Value::String(model.to_string()),);}- if let (Some(obj), Some(toolkit)) = (async_args.as_object_mut(), skill_filter) {- obj.insert(- "toolkit".to_string(),- serde_json::Value::String(toolkit.to_string()),- );- }log::info!("[agent] routing {tool_name} delegation of '{}' to durable async sub-agent \(result will be delivered as a follow-up turn)",@@ -382,18 +373,12 @@ pub(crate) async fn dispatch_subagent_with_live_parent(}log::info!(- "[agent] delegating to {} via {} (skill_filter={}) prompt_chars={}",+ "[agent] delegating to {} via {} prompt_chars={}",agent_id,tool_name,- skill_filter.unwrap_or("<none>"),prompt.chars().count());- // Propagate a per-call toolkit scope into the subagent runner as- // `toolkit_override` (narrows the child's Connected Integrations- // section), never as `skill_filter_override` (which matches `{skill}__`- // QuickJS-style names and would exclude every Composio action). The- // delegation tools synthesised today all pass `None` here.let worktree_action_dir = parent_workspace_descriptor.as_ref().map(|descriptor| descriptor.root.clone());@@ -408,7 +393,6 @@ pub(crate) async fn dispatch_subagent_with_live_parent(}let options = SubagentRunOptions {skill_filter_override: None,- toolkit_override: skill_filter.map(str::to_string),context: None,model_override: model_override.map(str::to_string),task_id: Some(task_id.clone()),diff --git a/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rsindex 48714b1cb3..5896798852 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rs@@ -217,7 +217,6 @@ async fn dispatch_subagent_returns_tool_error_when_agent_unknown() {"irrelevant prompt",None,None,- None,DispatchMode::Blocking,crate::agent::tinyagents::host::OpenHumanRunContext::new(),)