Functions§
- check_
completion_ candidate - Checks if the agent’s response is a candidate for completion handling.
- check_
for_ response_ loop - Check for repetitive text in assistant responses to catch non-tool-calling loops. Returns true if a loop is detected.