Skip to content

Conversation

@digitarald
Copy link
Contributor

Modes registered via the provider API (ExtensionAgentSourceType.provider) from the default chat extension were not being recognized as built-in modes, causing them to appear in the "Custom" category instead of "Built-In" in the mode picker.

This fixes the isModeConsideredBuiltIn function to also accept provider type alongside contribution type when the mode comes from the default chat agent extension.

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 fixes a categorization issue where chat modes registered via the provider API from the default chat extension were incorrectly appearing in the "Custom" category instead of "Built-In" in the mode picker.

Changes:

  • Modified the isModeConsideredBuiltIn function to accept both contribution and provider source types when determining if a mode from the default chat extension should be considered built-in

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