mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-12 15:10:59 -07:00
chore: better comment
This commit is contained in:
@@ -386,8 +386,8 @@ export class GeminiChat {
|
||||
this.config.getRetryFetchErrors(),
|
||||
);
|
||||
|
||||
// For non-retryable connection errors, pop history and throw immediately
|
||||
if (isConnectionPhase && !isRetryable) {
|
||||
// Remove failed user content to not break subsequent requests
|
||||
this.history.pop();
|
||||
throw error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user