Type alias EscalationDecision

EscalationDecision: {
    type: "human_takeover";
    instructions?: string;
} | {
    type: "agent_continue";
    guidance: string;
    adjustedParameters?: Record<string, unknown>;
} | {
    type: "abort";
    reason: string;
} | {
    type: "delegate";
    targetAgentId: string;
    instructions: string;
}

Human response to escalation.

Type declaration

  • type: "human_takeover"
  • Optional instructions?: string

Type declaration

  • type: "agent_continue"
  • guidance: string
  • Optional adjustedParameters?: Record<string, unknown>

Type declaration

  • type: "abort"
  • reason: string

Type declaration

  • type: "delegate"
  • targetAgentId: string
  • instructions: string