Skip to main content

Type Alias: DelegateResult

DelegateResult = { cost_usd?: number; result: unknown; status: "done"; } | { cost_usd?: number; error: string; result?: unknown; status: "failed"; } | { cost_usd?: number; question: string; status: "needs_input"; } | { code?: "capacity"; error: string; status: "refused"; } | { status: "queued"; ticket_id: string; }

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:106