Record Response • AI Agent SDK
record_response: Record model response text for content streaming loop detection.
record_response
Method
</div>
This is a method of the DoomLoopTracker class in the autonomy module.
Record model response text for content streaming loop detection.
Signature
def record_response(text: str) -> NoneParameters
ParamField
strThe model’s response text
Uses
record_response
Used By
Source
View on GitHubpraisonaiagents/agent/autonomy.py at line 517