before_model
Function
This function is defined in the middleware module.Decorator to mark a function as a before_model hook. The function receives a ModelRequest and should return a (possibly modified) ModelRequest.
Signature
Parameters
BeforeModelFn
required
No description available.
Returns
BeforeModelFn
The result of the operation.
Usage
Source
View on GitHub
praisonaiagents/hooks/middleware.py at line 191
