mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-06 11:21:15 -07:00
fix(async): prevent missed async errors from bypassing catch handlers (#13714)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
This commit is contained in:
@@ -192,7 +192,7 @@ export class LoopDetectionService {
|
||||
this.turnsInCurrentPrompt - this.lastCheckTurn >= this.llmCheckInterval
|
||||
) {
|
||||
this.lastCheckTurn = this.turnsInCurrentPrompt;
|
||||
return await this.checkForLoopWithLLM(signal);
|
||||
return this.checkForLoopWithLLM(signal);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user