Skip to content

Revert "Include file path in image prompts"#3911

Merged
justschen merged 1 commit intomainfrom
revert-3790-main
Feb 20, 2026
Merged

Revert "Include file path in image prompts"#3911
justschen merged 1 commit intomainfrom
revert-3790-main

Conversation

@justschen
Copy link
Contributor

Reverts #3790

reverting this since it caused some permissions/asks that were unintended.

Copilot AI review requested due to automatic review settings February 20, 2026 23:07
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 reverts changes from PR #3790 that added file path information to image prompts. The revert was necessary because the file path inclusion caused unintended permission prompts or authorization requests. The change removes the <Tag> component that was adding file path metadata to image attachments, returning to the simpler approach of only tracking references without exposing file paths.

Changes:

  • Removed IPromptPathRepresentationService and Tag imports that are no longer needed
  • Removed IPromptPathRepresentationService from the Image class constructor
  • Simplified the image reference rendering by removing the <Tag name='attachment'> component that included file path information

@justschen justschen added this pull request to the merge queue Feb 20, 2026
Merged via the queue into main with commit 7c960ad Feb 20, 2026
23 checks passed
@justschen justschen deleted the revert-3790-main branch February 20, 2026 23:52
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.

3 participants