Skip to content

[Bug]: Cannot revert to prompt after provider error #2627

@gregbartell

Description

@gregbartell

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

Not sure

Steps to reproduce

Summary

If a prompt fails due to a provider error, the failed prompt becomes stuck in the conversation. It cannot be reverted to or deleted from the UI. I originally encountered this with an incompatible Codex provider version causing a provider error, but the same behavior can be reproduced by disconnecting the internet before sending a prompt.

Reproduction Steps

  1. Start a new thread.
  2. Send a message ("prompt 1")
  3. Confirm the assistant responds normally.
  4. Disconnect from the internet.
  5. Send another message ("prompt 2")
  6. Reconnect to the internet.
  7. Send additional messages and confirm the chat works again.
  8. Hover over prompt 2.

Expected behavior

The failed prompt should still support reverting to that message, or mark it as unsent and allow deleting it from the thread.

Actual behavior

The failed prompt has no usable actions other than copy. It cannot be reverted to or deleted, so it remains permanently stuck in the conversation.

Impact

Minor bug or occasional failure

Version or commit

0.0.23

Environment

Arch, installed through aur/t3code-bin

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions