Request for human feedback on a sequence of actions requested by a model.
interface HITLRequestconst hitlRequest: HITLRequest = {
actionRequests: [
{ name: "send_email", args: { to: "user@example.com", subject: "Hello" } }
],
reviewConfigs: [
{
actionName: "send_email",
allowedDecisions: ["approve", "edit", "reject"],
description: "Please review the email before sending"
}
]
};
const response = interrupt(hitlRequest);A list of agent actions for human review.
Review configuration for all possible actions.