Skip to content

Add show banner - #333195

Merged
Logan Ramos (lramos15) merged 1 commit into
mainfrom
lramos15/lesser-marmot
Aug 28, 2026
Merged

Add show banner#333195
Logan Ramos (lramos15) merged 1 commit into
mainfrom
lramos15/lesser-marmot

Conversation

@lramos15

Copy link
Copy Markdown
Member

Implement #333001

Copilot AI balanced review requested due to automatic review settings August 28, 2026 16:05
@lramos15
Logan Ramos (lramos15) enabled auto-merge (squash) August 28, 2026 16:05

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.

Copilot review overview

Review tier: Balanced
Findings: None

What changed in this PR

Adds showBanner promo metadata so promotions can remain in the model picker without appearing above chat input.

Changes:

  • Propagates showBanner through Copilot and Agent Host metadata.
  • Filters banner-ineligible promotions from chat notifications.
  • Adds coverage for banner opt-out behavior.
File Description
src/​vscode-dts/​vscode.proposed.chatProvider.d.ts Exposes the proposed API field.
src/​vs/​workbench/​contrib/​chat/​test/​browser/​chatPromoNotification.test.ts Tests banner suppression.
src/​vs/​workbench/​contrib/​chat/​common/​languageModels.ts Defines metadata and eligibility helper.
src/​vs/​workbench/​contrib/​chat/​browser/​chatPromoNotification.ts Applies banner eligibility filtering.
src/​vs/​platform/​agentHost/​common/​agentModelPricing.ts Normalizes and forwards promo metadata.
extensions/​copilot/​src/​platform/​networking/​common/​networking.ts Extends endpoint promo metadata.
extensions/​copilot/​src/​platform/​endpoint/​node/​chatEndpoint.ts Maps the server field.
extensions/​copilot/​src/​platform/​endpoint/​common/​endpointProvider.ts Defines the server response field.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@lramos15
Logan Ramos (lramos15) merged commit 5959a24 into main Aug 28, 2026
38 checks passed
@lramos15
Logan Ramos (lramos15) deleted the lramos15/lesser-marmot branch August 28, 2026 16:29
@vs-code-engineering vs-code-engineering Bot added this to the 1.136.0 milestone Aug 28, 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.

3 participants