Skip to main content

Module loop_detector

Module loop_detector 

Source
Expand description

Loop detection for agent operations

Detects when the agent is stuck in repetitive patterns and suggests intervention. The unified interactive VT Code runloop applies its own richer turn-local recovery policy; this detector remains the generic safeguard for legacy or non-unified autonomous execution paths.

Structsยง

LoopDetector
ToolCallRecord