Apply Backoff • AI Agent SDK

apply_backoff: Apply backoff delay and return the delay used.

apply_backoff

Method

</div>

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

Apply backoff delay and return the delay used.

Signature

python
def apply_backoff() -> float

Returns

ResponseField float

Backoff delay in seconds

Uses

  • time.sleep

Used By

Source

View on GitHub

praisonaiagents/escalation/doom_loop.py at line 284