execute_callback
AsyncFunction
This function is defined in the main module.Execute both sync and async callbacks for a given display type. Callback errors are logged and suppressed so observers cannot abort the run.
Signature
Parameters
str
required
Type of display event **kwargs: Arguments to pass to the callback functions
Returns
Any
The result of the operation.
Uses
asyncio.get_running_looploop.run_in_executorsync_callbacklogging.exceptionasync_callback
Used By
adisplay_interactionadisplay_self_reflectionadisplay_instructionadisplay_tool_calladisplay_error
Source
View on GitHub
praisonaiagents/main.py at line 184
