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

python
def get_loop_event() -> Optional[DoomLoopEvent]

Returns

ResponseField Optional[DoomLoopEvent]

The result of the operation.

Uses

  • get_loop_type
  • DoomLoopEvent

Source

View on GitHub

praisonaiagents/escalation/doom_loop.py at line 254