Skip to content

Conversation

@jrieken
Copy link
Member

@jrieken jrieken commented Jan 13, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 13, 2026 11:59
@jrieken jrieken enabled auto-merge (squash) January 13, 2026 11:59
@jrieken jrieken self-assigned this Jan 13, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 13, 2026
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 makes the PersistModelChoice setting an experimental setting by adding an experiment property with mode 'auto'. This allows the setting's default value to be controlled by experimentation infrastructure, enabling gradual rollout or A/B testing of the feature.

Changes:

  • Added experiment: { mode: 'auto' } to the PersistModelChoice configuration setting

description: localize('persistModelChoice', "Whether to persist the selected language model choice across inline chat sessions. The default is not to persist and to use the vendor's default model for inline chat because that yields the best experience."),
default: false,
type: 'boolean'
type: 'boolean',
Copy link

Copilot AI Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When adding the experiment property to a configuration setting, it's a common pattern in the codebase to also add a tags property with 'experimental' or 'preview'. Looking at other settings in the same file (EnableV2 has both tags: ['preview'] and experiment, notebookAgent has both tags: ['experimental'] and experiment), and examining patterns in other files like editorConfigurationSchema.ts and chat.contribution.ts, settings with experiment configurations typically include a tags array. Consider adding tags: ['experimental'] to make this setting consistent with similar experimental settings in the codebase.

Suggested change
type: 'boolean',
type: 'boolean',
tags: ['experimental'],

Copilot uses AI. Check for mistakes.
@jrieken jrieken merged commit 4df158a into main Jan 13, 2026
27 of 28 checks passed
@jrieken jrieken deleted the joh/specific-newt branch January 13, 2026 12:21
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