Get Recovery Action • AI Agent SDK

get_recovery_action: Get recommended recovery action.

get_recovery_action

Method

</div>

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

Get recommended recovery action.

Signature

python
def get_recovery_action() -> RecoveryAction

Returns

ResponseField RecoveryAction

Recommended recovery action

Uses

  • get_loop_type

Used By

Source

View on GitHub

praisonaiagents/escalation/doom_loop.py at line 271