Increment Recovery • AI Agent SDK

increment_recovery: Increment recovery attempt counter.

increment_recovery

Method

</div>

This is a method of the DoomLoopDetector class in the doom_loop module.

Increment recovery attempt counter.

Signature

python
def increment_recovery() -> bool

Returns

ResponseField bool

True if more recovery attempts allowed

Used By

Source

View on GitHub

praisonaiagents/escalation/doom_loop.py at line 300