Skip to main content

Module loop_detector

Module loop_detector 

Expand description

Loop detection guardrail for the agent tool-call loop.

Structs§

LoopDetector
Stateful loop detector that lives for the duration of a single run_tool_call_loop invocation.
LoopDetectorConfig
Configuration for the loop detector, typically derived from PacingConfig fields at the call site.

Enums§

LoopDetectionResult
Outcome of a loop-detection check after recording a tool call.