Chat does not respond anymore after file deletion

While starting a new project, I gave three .png files stored in the repo currently opened in Cursor as context to the chat. Everything was working as intended.

At some point, I deleted those 3 files. The chat became irresponsive (nothing would happen when hitting the ENTER key or clicking the button at the bottom of the chat text field).

I restarted Cursor several times, and even restarted my system, but the behavior was the same.

I then restored those from 3 files, and the chat was back to working as expected.

Cursor:

Version: 0.41.2
VSCode Version: 1.91.1
Commit: 297991d169fa3a11975c5aa95adc69be73250c70
Date: 2024-09-21T04:18:39.370Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631