dragon.ai.agent.hitl.models.HumanApprovalRequest

class HumanApprovalRequest[source]

Bases: object

Payload sent to the HITL client when an agent requests human approval.

Also written to DDict for in-runtime logging.

__init__(tool_name: str, tool_args: dict[str, ~typing.Any], context: str, agent_id: str, task_id: str, dispatch_id: str, timestamp: float = <factory>) None

Methods

__init__(tool_name, tool_args, ~typing.Any], ...)

Attributes

tool_name

tool_args

context

agent_id

task_id

dispatch_id

timestamp

tool_name: str
tool_args: dict [str , Any ]
context: str
agent_id: str
task_id: str
dispatch_id: str
timestamp: float
__init__(tool_name: str, tool_args: dict[str, ~typing.Any], context: str, agent_id: str, task_id: str, dispatch_id: str, timestamp: float = <factory>) None