Skip to content

remove unused experimentan#289061

Merged
sandy081 merged 2 commits intomainfrom
sandy081/zesty-shark
Jan 20, 2026
Merged

remove unused experimentan#289061
sandy081 merged 2 commits intomainfrom
sandy081/zesty-shark

Conversation

@sandy081
Copy link
Copy Markdown
Member

@lramos15 - I do not see this setting enabled for experiement and therefore it seems unused code. Hence removing it.

@sandy081 sandy081 requested review from Copilot and lramos15 January 20, 2026 10:02
@sandy081 sandy081 enabled auto-merge (squash) January 20, 2026 10:02
@sandy081 sandy081 self-assigned this Jan 20, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 20, 2026
Copy link
Copy Markdown
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 removes the unused experimental setting chat.experimentalShowAllModels and its associated code. The setting was previously used to override the isUserSelectable property of language models but is no longer needed.

Changes:

  • Removed the experimental configuration service dependency from LanguageModelsService
  • Removed the experimental setting check in lookupLanguageModel() method that overrode model selectability
  • Updated test files to remove the now-unnecessary TestConfigurationService dependency

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/chat/common/languageModels.ts Removed IConfigurationService import, _configurationService constructor parameter, and experimental setting check in lookupLanguageModel method
src/vs/workbench/contrib/chat/test/common/languageModels.test.ts Removed TestConfigurationService import and removed its usage from test suite instantiations to match updated constructor signature

lramos15
lramos15 previously approved these changes Jan 20, 2026
@sandy081 sandy081 merged commit fe035e1 into main Jan 20, 2026
22 checks passed
@sandy081 sandy081 deleted the sandy081/zesty-shark branch January 20, 2026 16:11
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Mar 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants