on_error
Method
This is a method of the RealtimeAgent class in the realtime_agent module.Register callback for errors.
Signature
Parameters
Function to call with exception
Source
View on GitHub
praisonaiagents/agent/realtime_agent.py at line 365on_error: Register callback for errors.
This is a method of the RealtimeAgent class in the realtime_agent module.Register callback for errors.
def on_error(callback: Callable[[Exception], None]) -> None
praisonaiagents/agent/realtime_agent.py at line 365