[BUG] Cancelling image Read operation with ESC leaves conversation in broken state

Resolved 💬 3 comments Opened Oct 14, 2025 by ParkerFleming Closed Jan 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

  • Steps to reproduce:

a. Start reading an image file with Read tool
b. Press ESC to cancel the operation
c. Try to send any text message
d. Observe: All subsequent messages fail with "Could not process image" error

  • Expected: Cancellation should cleanly abort without affecting future messages
  • Actual: Broken image data persists and breaks all subsequent messages

What Should Happen?

  • Expected: Cancellation should cleanly abort without affecting future messages
  • Actual: Broken image data persists and breaks all subsequent messages

Error Messages/Logs

Steps to Reproduce

  • Steps to reproduce:

a. Start reading an image file with Read tool
b. Press ESC to cancel the operation
c. Try to send any text message
d. Observe: All subsequent messages fail with "Could not process image" error

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude Code version 2.0.14

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗