execute
AsyncMethod
This is a method of the HookRunner class in the runner module.Execute all hooks for an event.
Signature
Parameters
The event to execute hooks for
Input data for the hooks
Optional target to filter hooks (e.g., tool name)
Returns
List of execution results
Uses
get_hooks
Used By
CodeAgent.execute_codeCodeAgent.aexecuteMiddlewareManager.execute_model_callMiddlewareManager.execute_tool_callHookRunner.execute_sync
Source
View on GitHub
praisonaiagents/hooks/runner.py at line 82
