Skip to content

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

fix(profiles): exclude spawn_agent and spawn_async_subagent from capabilities

Steven Enamakel6b9a8487e90a
diff --git a/crates/openhuman-core/src/profiles/capabilities.rs b/crates/openhuman-core/src/profiles/capabilities.rs
index 5aa6650fd9..16bff7a271 100644
--- a/crates/openhuman-core/src/profiles/capabilities.rs
+++ b/crates/openhuman-core/src/profiles/capabilities.rs
@@ -122,8 +122,10 @@ impl ProfileCapabilities {
| crate::core::all::DomainGroup::Flows
| crate::core::all::DomainGroup::Mcp
)
- && !matches!(name, "http_request" | "use_skill" | "continue_subagent")
- && !tinyagents_definition::SPAWN_TOOL_NAMES.contains(&name)
+ && !matches!(
+ name,
+ "http_request" | "spawn_agent" | "spawn_async_subagent" | "use_skill"
+ )
&& !name.starts_with("delegate_")
&& !name.starts_with("mcp_")
&& crate::tools::toolpacks::pack_for_tool(name)