PostHog / PostHog/posthog

Retry message (re-run last user message with undo)

Open
#76,231 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature/desktop
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

Description

Add a "Retry" button on the last user message that undoes the AI's response (including file changes) and re-sends the same message to get a different response.

Behavior

  • A retry button appears on the most recent user message (or any user message)
  • Clicking retry reverts file changes from the AI response and re-submits the message
  • Useful when the AI's response was incorrect or took a wrong approach

Related

  • Edit user message
  • Restore checkpoint

Acceptance Criteria

  • Retry button visible on user messages
  • File changes from the retried response are reverted
  • Message is re-sent to the AI
  • Loading state while retrying

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named; start by locating the existing user-message, edit-message, and restore-checkpoint flows referenced in Related. Done means the retry control is visible, reverts the response's file changes, resends the message, and shows a loading state.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
ai, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.