chore: better comment

This commit is contained in:
Jack Wotherspoon
2026-01-20 09:12:22 -05:00
parent 7a687ce858
commit 35419b51f2

View File

@@ -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;
}