Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jun 12, 2025

This PR adds support for automatically tagging extensions that provide language models with the language-models tag, making them easier to discover and filter in the marketplace.

Changes Made

  • Detection Logic: Added detection for languageModels contribution point in TagsProcessor
  • Tag Addition: Extensions with languageModels contribution now automatically receive the language-models tag
  • Test Coverage: Added comprehensive test case following the existing pattern

Implementation Details

The implementation follows the exact same pattern as other contribution point tags like languageModelTools, chatParticipants, etc.:

const languageModels = doesContribute('languageModels') ? ['language-models'] : [];

Extensions that declare languageModels in their package.json contributes section will now automatically receive the language-models tag when published to the marketplace.

Example

An extension with this package.json:

{
  "contributes": {
    "languageModels": [
      {
        "name": "My Language Model",
        "id": "my-model"
      }
    ]
  }
}

Will now automatically receive the language-models tag, making it discoverable alongside other language model extensions.

Fixes #1165.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • registry.npmmirror.com
    • Triggering command: npm install (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Let's add a tag "language-models" for extensions that provide language models Add language-models tag for extensions with languageModels contribution Jun 12, 2025
@Copilot Copilot AI requested a review from benibenj June 12, 2025 11:02
Copilot finished work on behalf of benibenj June 12, 2025 11:02
@benibenj benibenj marked this pull request as ready for review June 12, 2025 16:02
@vs-code-engineering vs-code-engineering bot added this to the June 2025 milestone Jun 12, 2025
@benibenj benibenj enabled auto-merge June 13, 2025 07:33
@benibenj benibenj merged commit 073d7c5 into main Jun 13, 2025
9 checks passed
@benibenj benibenj deleted the copilot/fix-1165 branch June 13, 2025 07:45
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.

Let's add a tag "language-models" for extensions that provide language models
4 participants