record_action
Method
This is a method of the DoomLoopDetector class in the doom_loop module.Record an action for loop detection.
Signature
Parameters
str
required
Type of action (e.g., “read_file”, “edit”)
Dict[str, Any]
required
Action arguments
Any
required
Action result
bool
required
Whether action succeeded
float
default:"0.0"
Action duration in seconds
Optional
Optional metadata
Returns
Any
The result of the operation.
Uses
ActionRecordtime.timeis_doom_loop
Used By
Source
View on GitHub
praisonaiagents/escalation/doom_loop.py at line 134
