Skip to content

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

fix(e2e): use supported async subagent contract

Steven Enamakelf882e466056e
diff --git a/app/test/playwright/specs/chat-harness-subagent.spec.ts b/app/test/playwright/specs/chat-harness-subagent.spec.ts
index 9e15630543..f42b9040b8 100644
--- a/app/test/playwright/specs/chat-harness-subagent.spec.ts
+++ b/app/test/playwright/specs/chat-harness-subagent.spec.ts
@@ -27,8 +27,11 @@ const KEYWORD_RESPONSES = [
{
toolCall: {
id: 'call_research_1',
- name: 'delegate_to',
- arguments: JSON.stringify({ agent: 'research', prompt: 'Tell me a marker phrase' }),
+ name: 'spawn_async_subagent',
+ arguments: JSON.stringify({
+ agent_id: 'researcher',
+ prompt: 'Tell me a marker phrase',
+ }),
},
},
{ finish: 'tool_calls' },