Implement loop check with LLM (#4337)

Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
This commit is contained in:
Sandy Tao
2025-07-18 09:33:46 -07:00
committed by GitHub
parent c5761317f4
commit 9dadf22958
5 changed files with 296 additions and 34 deletions

View File

@@ -249,6 +249,7 @@ export class FlashFallbackEvent {
export enum LoopType {
CONSECUTIVE_IDENTICAL_TOOL_CALLS = 'consecutive_identical_tool_calls',
CHANTING_IDENTICAL_SENTENCES = 'chanting_identical_sentences',
LLM_DETECTED_LOOP = 'llm_detected_loop',
}
export class LoopDetectedEvent {