Files
kilocode/.changeset/clear-empty-failed-turn.md
T
kirillk 648fa0a6a7 feat(jetbrains): retry failed turns from the error card
Adds a Retry action to the error card. Retry reverts to the failed assistant message, which restores the workspace when that turn already edited files, then replays the original user message with the same model. Reusing the user message id means no synthetic message is appended, and SessionRevert.cleanup removes the failed message on the prompt that follows.

Retry is offered only for failures, never for a user stop.

Also clears a failed assistant tail that produced no visible output when the next prompt arrives, so an empty error placeholder stops lingering in history. Turns that emitted text or ran a tool are kept, since their record explains changes already on disk.
2026-08-26 13:16:44 -04:00

306 B

@kilocode/cli
@kilocode/cli
patch

Clear a failed turn that produced no output from the conversation when the next message is sent, so an "An error occurred" placeholder no longer lingers in history. A turn that wrote text or ran a tool before failing is kept, since its record explains changes already made.