Command Verification Hook • AI Agent SDK
CommandVerificationHook: Verification hook that runs a shell command.
CommandVerificationHook
Defined in the verification module.
AI Agent
Verification hook that runs a shell command.
Constructor
ParamField
strNo description available.
ParamField
AnyNo description available.
ParamField
Optional[str]No description available.
ParamField
floatNo description available.
ParamField
boolNo description available.
Usage
hook = CommandVerificationHook(
name="pytest",
command=["pytest", "-v", "--tb=short"]
)Source
View on GitHubpraisonaiagents/hooks/verification.py at line 176