dragon.ai.agent.hitl.models.HumanApprovalResponse
- class HumanApprovalResponse[source]
Bases:
objectPayload sent back from the HITL client after the operator decides.
Also written to DDict for in-runtime logging.
Attributes
- approved:
Trueif the operator approved the tool call.- reason:
Operator’s explanation (rejection reason or feedback text).
- is_feedback:
Truewhen the operator chose to provide feedback rather than a hard reject. The LLM receives the feedback and retries.
- __init__(approved: bool , reason: str = '', is_feedback: bool = False, timestamp: float = <factory>) None
Methods
__init__(approved, reason, is_feedback, ...)Attributes