Request for human feedback on a sequence of actions requested by a model.
const 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); Copy
const 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.
Request for human feedback on a sequence of actions requested by a model.
Example