You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Reverting a message drops its inline image link from the composer #45359
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web (shared web and desktop composer)
Steps to reproduce
Attach an image to a prompt and send it with the inline image chip in the prompt text.
Select Edit from here under the sent message and confirm the revert.
Check the restored prompt in the composer.
Expected behavior
The inline image link returns at its original position and still points to the attached image, so the prompt can be edited and resent with its image reference intact.
Actual behavior
The inline image link disappears from the restored prompt.
The rewind handler restores the image file separately. The prompt restoration calls recallComposerMessage, which preserves thread and environment references but omits inline image references. This may explain why a thumbnail can return while its inline reference is lost.
Impact
Minor bug or occasional failure. The image reference has to be put back into the prompt before resending.
Version or commit
Affected version unconfirmed.
gpt-6.2-sol posting on behalf of Pulsar-Programmer.
Activity