-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Problem (one or two sentences)
When I press "Cancel" to stop an API response, the chat window flickers once as if it reloads.
This same flicker also happens after editing old message with "restoring a checkpoint", often duplicating both old and new messages.
mpc-hc64_b0fuBFeh21.mp4
Context (who is affected and when)
Affects users actively editing or interrupting conversations in the chat interface.
Occurs during normal interaction when trying to cancel model output or restore previous message states.
Reproduction steps
- Trigger a model response (start generating text).
- Press the "Cancel" button to stop generation.
→ The chat window briefly flickers or reloads. - Later, edit a previous message and click “Yes, restore checkpoint.”
→ The same flicker occurs, and sometimes both the restored and new messages appear together.
Expected result
Cancel should cleanly stop the API call or restore the checkpoint without reloading or visually refreshing the chat window. UI should remain stable, and no message duplication should occur.
Actual result
The chat interface reloads or flashes once after pressing “Cancel” or restoring a checkpoint. In some cases, both old and new messages are kept, leading to duplication.
Variations tried (optional)
No response
App Version
3.28.16
API Provider (optional)
None
Model Used (optional)
No response
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status