register_display_callback
Function
This function is defined in the main module.Register a synchronous or asynchronous callback function for a specific display type.
Signature
Parameters
str
required
Type of display event (‘interaction’, ‘self_reflection’, etc.)
Any
required
The callback function to register
bool
default:"False"
Whether the callback is asynchronous
Returns
Any
The result of the operation.
Used By
Source
View on GitHub
praisonaiagents/main.py at line 106
