mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 12:11:09 +00:00
Previously, when an auto-retry countdown elapsed and the server sent a Retry event (without retryInfo) to signal the actual retry attempt, the error message was not cleared because `pendingRetryCountdownItemRef` was still set. This caused stale error messages to persist in the UI until the user manually initiated a new request. Additionally, when the user pressed Ctrl+Y to retry, the error was committed to history (without hint) instead of being discarded. This was inconsistent with the auto-retry behavior where errors are silently cleared on success. Changes: - Always call clearRetryCountdown() when a Retry event without retryInfo is received, removing the flawed guard condition - Remove error-to-history commit in retryLastPrompt for consistent UX - Add test covering the countdown-elapsed retry scenario Closes #2310 Made-with: Cursor |
||
|---|---|---|
| .. | ||
| acp-integration | ||
| commands | ||
| config | ||
| constants | ||
| core | ||
| i18n | ||
| nonInteractive | ||
| patches | ||
| services | ||
| test-utils | ||
| ui | ||
| utils | ||
| gemini.test.tsx | ||
| gemini.tsx | ||
| nonInteractiveCli.test.ts | ||
| nonInteractiveCli.ts | ||
| nonInteractiveCliCommands.test.ts | ||
| nonInteractiveCliCommands.ts | ||
| validateNonInterActiveAuth.test.ts | ||
| validateNonInterActiveAuth.ts | ||