Copilot Chat v0.41.2: Edit Window & URI Fixes

Copilot Chat v0.41.2 patches edit window handling for cached items and fixes URI logic to reduce unnecessary document references.

Copilot Chat v0.41.2: Edit Window & URI Fixes

TL;DR

  • Fixed edit window calculation for cached items in patch-based edits
  • Prevented unnecessary URI inclusion when target and active documents match
  • Improved prompt service to skip validation on document open

Fixed

  • Edit window for cached items — patch-based edits now set the correct edit window, fixing issues with cached item handling.
  • URI inclusion logic — removed redundant URI inclusion when the target document is the same as the active document.
  • Prompt service validation — PromptsServiceImpl no longer triggers document validation when opening text documents.

Update via VS Code extensions: check for updates in the Extensions marketplace or run code --install-extension ms-copilot.copilot-chat.

Source: Copilot Chat