SubagentResult
type SubagentResult<T> = object & | { helperId: string; output: T; runId: string; status: "completed";} | { error: string; helperId: string; runId: string; status: "failed";} | { error: string; status: "refused";};Defined in: agents/src/subagents.ts:84
Type Declaration
Section titled “Type Declaration”name: string;Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T |
unknown |