Skip to content

Conversation

@mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Jan 20, 2026

For #274403

Copilot AI review requested due to automatic review settings January 20, 2026 21:02
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 20, 2026
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 refactors the edit file tool to use the sessionResource property directly from the invocation context instead of constructing it via LocalChatSessionUri.forSession(). This aligns with the deprecation of the sessionId property in favor of sessionResource.

Changes:

  • Removes unused import of LocalChatSessionUri
  • Replaces LocalChatSessionUri.forSession(invocation.context?.sessionId) with direct access to invocation.context.sessionResource

@mjbvz mjbvz merged commit 67fcc5f into microsoft:main Jan 20, 2026
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants