Files
orca/src/shared
Kelvin AmoabaandXulin Wu be1ae8798e fix(chat): clear the sent image bubble when Claude takes an image in mid-turn (#40975)
Claude records a prompt it absorbs mid-turn only as a queued_command
attachment whose images are inline base64 with no path. The decoder
dropped those images, so an image-only send had no transcript row to
match and its pending bubble stayed at the bottom of the chat.

Decode queued inline images as data URLs. Pathless image-only rows
cannot name their send, so each retires one delivered image-only send
after its boundary, oldest first, and pruning hands the claimed row to
the remaining sends so none reuses it. Failed or uncertain writes never
claim one. Keep inline image bytes out of handoff and worker text.

Co-authored-by: Xulin Wu <wuxulin@bytedance.com>
2026-11-11 02:30:37 +00:00
..
…