Skip to content

Conversation

benvillalobos
Copy link
Member

Fixes #255443

Context

If you add an unsupported view (webview, settings pane, welcome page) to the context via quick pick, it gets included in context but shows up as an error.
image

Changes Made

Added a filter to the quick pick that excludes views with specific schemes.

Copy link
Contributor

@Copilot 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 fixes an issue where unsupported views (webviews, settings panes, welcome pages) could be added to chat context through the quick pick, resulting in errors. The solution filters out items with specific URI schemes that are not supported for chat context.

  • Adds a constant set of unsupported context schemes
  • Implements a filter function in the quick pick options to exclude unsupported schemes

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.

filter webview editors out of 'add context'
2 participants