categorize_hooks
Function
This function is defined in the middleware module.Categorize hooks by their type.
Signature
Parameters
No description available.
Returns
before_model, after_model, wrap_model_call,
before_tool, after_tool, wrap_tool_call
Categorize hooks by their type.
This function is defined in the middleware module.Categorize hooks by their type.
def categorize_hooks(hooks: List[Callable]) -> Dict[str, List[Callable]]