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]: Chat shows literal [Image #1] in my own message when the image chip is not at the start #32727
In a desktop Claude chat, paste an image into the composer, then type words before its chip (or move the chip after some text) and send. Your own message shows the thumbnail, followed by your words with a literal [Image #1] where the chip was:
然后图片下面自带 [Image #1] 。如果不在开头就会在对话里发出去
Expected
The bubble already shows the picture above the words, so it should not also print the marker. The agent still needs [Image #N] in the prompt (#28736), but that is wire text, not something the sender should read back.
Cause
The structured send writes each chip as [Image #N] into the journal text. Prompt recall and the chat title strip it, but the message row, its copy text, and its height estimate render the stored text unchanged.
Activity
AmethystLiang commentedon Oct 25, 2026
looking into it
fix(native-chat): hide sent [Image #N] prompt markers in user messages (