execute
AsyncMethod
This is a method of the AsyncMiddlewareChain class in the middleware module.Execute the async middleware chain.
Signature
Parameters
Any
required
The request object to pass through
Callable
required
The actual async operation to perform
Returns
Any
The result from the chain
Uses
final_handlerbuild_chainmiddlewarechain
Used By
CodeAgent.execute_codeCodeAgent.aexecuteMiddlewareManager.execute_model_callMiddlewareManager.execute_tool_callHookRunner.execute_sync
Source
View on GitHub
praisonaiagents/hooks/middleware.py at line 156
