Skip to content

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

refactor(tools): remove obsolete delegate tool spec and test case

Steven Enamakel5c43afd6587d
diff --git a/app/src/features/conversations/tools/toolSpecs.ts b/app/src/features/conversations/tools/toolSpecs.ts
index e3229746d3..aad7d069e3 100644
--- a/app/src/features/conversations/tools/toolSpecs.ts
+++ b/app/src/features/conversations/tools/toolSpecs.ts
@@ -299,7 +299,6 @@ export const EXACT_TOOL_SPECS: Record<string, ToolSpec> = {
// ── Agents and delegation ──────────────────────────────────────────────
spawn_subagent: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent_id') }),
spawn_async_subagent: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent_id') }),
- delegate: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent') }),
delegate_to: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent', 'agent_id') }),
continue_subagent: spec('messageAgent', MessageSquareReplyIcon, 'agent', {
chip: chip.text('agent_id'),
diff --git a/crates/openhuman-core/src/agent/subagent_host/tool_prep_tests.rs b/crates/openhuman-core/src/agent/subagent_host/tool_prep_tests.rs
index b5a9bc056d..2fd1bb8139 100644
--- a/crates/openhuman-core/src/agent/subagent_host/tool_prep_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/tool_prep_tests.rs
@@ -14,7 +14,6 @@ fn child_tool_surface_never_contains_any_spawn_or_continuation_tool() {
.copied()
.chain([
"delegate",
- "delegate_graph",
"delegate_researcher",
"continue_subagent",
])