Skip to content

Conversation

@dmitrivMS
Copy link
Contributor

Fixes #282900

Copilot AI review requested due to automatic review settings December 14, 2025 00:21
@dmitrivMS dmitrivMS added the chat label Dec 14, 2025
@dmitrivMS dmitrivMS enabled auto-merge (squash) December 14, 2025 00:21
@dmitrivMS dmitrivMS self-assigned this Dec 14, 2025
@vs-code-engineering vs-code-engineering bot added this to the December / January 2026 milestone Dec 14, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements automatic removal of file attachments when the underlying files are deleted from the file system. It adds a file system change listener to the ChatAttachmentModel that monitors for file deletion events and removes corresponding attachments from the model.

Key Changes:

  • Added file system change listener to detect deleted file attachments
  • Automatically removes deleted files from the attachment list via the existing updateContext method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Context Added unexpectedly

2 participants