Add tree-wide names for subagent collaboration
This commit is contained in:
1 parent
0518302384
commit
7fd0dba80d
279 files changed
+5299
-2098
No files matched your search
@@ -76,7 +76,7 @@ describe('advanced Python snapshot workflow ordering', () => {
|
||||
await assembly
|
||||
ctx.llm.registerAdapter(['mock'], adapter)
|
||||
const parent = await ctx.agentLoop.create(SessionId(config.parentSessionId), { provider: 'mock', model: 'mock' })
|
||||
const run = await ctx.subagents.startActivation({
|
||||
const run = await ctx.subagents.startActivation({ name: 'workflow-child',
|
||||
provider: 'spawn', label: 'workflow-child', delivery: 'caller',
|
||||
request: { parent, prompt: [{ type: 'text', text: config.prompt }] }, signal: new AbortController().signal,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user