Skip to main content

Module loop_detection

Module loop_detection 

Source

Structs§

LoopDetector
Tracks repeated tool calls within a time window to detect and throttle agent loops.
ThrottleResult
Outcome of a loop detection check: throttle level, count, and optional warning.

Enums§

ThrottleLevel
Severity of throttling applied to a repeated call: normal, reduced, or blocked.