plexus.cli.procedure.tactus_adapters.terminal_hitl module
Terminal HITL adapter for CLI-based procedure execution.
Handles Human.approve() and Human.input() by prompting the user in the terminal instead of suspending and waiting for a dashboard response.
- class plexus.cli.procedure.tactus_adapters.terminal_hitl.TerminalHITLAdapter(auto_approve: bool = False)
Bases:
objectTactus HITLHandler that resolves HITL requests via terminal prompts.
Used when running procedures from the CLI so that Human.approve() and Human.input() calls block at the terminal rather than suspending the procedure and waiting for a dashboard response.
- Args:
auto_approve: If True, automatically approve all requests without prompting.
- __init__(auto_approve: bool = False)
- Args:
auto_approve: If True, automatically approve all requests without prompting.
- request_interaction(procedure_id: str, request: HITLRequest, execution_context: Any = None) HITLResponse