https://retellai.com/?utm_source=discord&utm_medium=seo logo
"Error: The transcript might contain a loop that e...
# ❓・bug-report
s
seeing this error message sporadically for certain tests after batch-running all of an agent's tests. it's listed as the Test Result and Simulation History shows as blank. what does this mean?
s
Hi @spencerbrown_33229 The error message "Error: The transcript might contain a loop that exceeds 100 utterances without termination" indicates that during testing, your AI agent entered a repetitive loop, generating over 100 exchanges without reaching a conclusion. This often results in a blank simulation history, as the system halts the test to prevent resource exhaustion. To address this issue: Review Conversation Flow: Ensure that your conversation design includes clear exit conditions and doesn't inadvertently lead to infinite loops. Implement Guardrails: Incorporate mechanisms to detect and handle repetitive interactions, such as setting a maximum number of turns or identifying repeated patterns. Utilize Debugging Tools: Leverage Retell AI's debugging features to simulate conversations and identify where the loop occurs, allowing you to adjust the flow accordingly.
s
thanks for the help. would it be possible, as an enhancement request, for you to include some clipped version of the simulation history? if i could see that, then i imagine i could pin down exactly where the loop is happening vs trying to guess until i stumble upon it