Keep an attachment the server finished when completion fails
main路
Commit
A completion that fails ambiguously may have finished on the server, and a finished image may already be in a description. add now reads the attachment back: a ready one counts as uploaded, an unfinished one is removed, and one whose state cannot be read is left in place.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M6HD4ZGDSBRPWATR6C621CK3