fix(subagent): keep one-shot labels optional

This commit is contained in:
Dudu-0223
2026-07-27 17:22:40 +08:00
committed by Tianyi Cui
parent 774ee34b9a
commit 03d95d0d84
28 changed files with 124 additions and 147 deletions

View File

@@ -12,7 +12,6 @@ function fakeParent(id = 'parent-1'): Agent {
function baseRequest(over: Partial<SubagentStartRequest> = {}): SubagentStartRequest {
return {
label: 'task',
prompt: [{ type: 'text', text: 'task' }],
parent: fakeParent(),
signal: new AbortController().signal,