Fix resetting loop counts on every other event (#4348)

This commit is contained in:
Sandy Tao
2025-07-16 22:32:48 -07:00
committed by GitHub
parent 9ab44ea9d6
commit ac8e98511e
2 changed files with 21 additions and 1 deletions

View File

@@ -54,7 +54,6 @@ export class LoopDetectionService {
case GeminiEventType.Content:
return this.checkContentLoop(event.value);
default:
this.reset();
return false;
}
}