Skip to content

Prevent signed-out users from seeing GitHub Copilot upgrade recommendations#318509

Merged
vritant24 merged 5 commits into
mainfrom
agents/investigate-upgrade-models-issue
May 27, 2026
Merged

Prevent signed-out users from seeing GitHub Copilot upgrade recommendations#318509
vritant24 merged 5 commits into
mainfrom
agents/investigate-upgrade-models-issue

Conversation

@vritant24

Copy link
Copy Markdown
Member

Ensure that signed-out users do not have access to Copilot control-manifest entries in the model picker. This change enhances user experience by restricting visibility based on user entitlement status.

Copilot AI review requested due to automatic review settings May 27, 2026 05:04
@vritant24 vritant24 changed the title Prevent signed-out users from seeing Copilot models Prevent signed-out users from seeing GitHub Copilot upgrade recommendations May 27, 2026
@vritant24 vritant24 enabled auto-merge May 27, 2026 05:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the chat model picker so signed-out users do not receive Copilot control-manifest model entries, aligning model visibility with entitlement state.

Changes:

  • Detects signed-out entitlement state in ModelPickerWidget.show.
  • Uses an empty control-manifest model set for signed-out users while preserving free/paid manifest selection for signed-in users.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.ts Gates Copilot control-manifest entries based on ChatEntitlement.Unknown.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

dmitrivMS
dmitrivMS previously approved these changes May 27, 2026
…oid race with killForceful timer

Co-authored-by: vritant24 <13074644+vritant24@users.noreply.github.com>
Comment thread src/vs/workbench/contrib/mcp/node/mcpStdioStateHandler.ts Outdated
…() to avoid race with killForceful timer"

This reverts commit 0baa8cd.
@vritant24 vritant24 requested a review from dmitrivMS May 27, 2026 06:13
@vritant24 vritant24 merged commit 73d268a into main May 27, 2026
25 checks passed
@vritant24 vritant24 deleted the agents/investigate-upgrade-models-issue branch May 27, 2026 06:34
@vs-code-engineering vs-code-engineering Bot added this to the 1.123.0 milestone May 27, 2026
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.

4 participants