record • AI Agent SDK
record: Record an action for loop detection.
record
Method
</div>
This is a method of the DoomLoopTracker class in the autonomy module.
Record an action for loop detection.
Signature
def record(action_type: str, args: Dict[str, Any], result: Any, success: bool) -> NoneParameters
ParamField
strType of action (e.g., “read_file”)
ParamField
Dict[str, Any]Action arguments
ParamField
AnyAction result
ParamField
boolWhether action succeeded
Uses
record_action
Used By
Source
View on GitHubpraisonaiagents/agent/autonomy.py at line 457