Get Loop Event • AI Agent SDK
get_loop_event: Get the current loop event if one exists.
get_loop_event
Method
</div>
This is a method of the DoomLoopDetector class in the doom_loop module.
Get the current loop event if one exists.
Signature
def get_loop_event() -> Optional[DoomLoopEvent]Returns
ResponseField
Optional[DoomLoopEvent]The result of the operation.
Uses
get_loop_typeDoomLoopEvent
Source
View on GitHubpraisonaiagents/escalation/doom_loop.py at line 254