Skip to content

Handle warning and info messages froom SDK - #333851

Merged
Logan Ramos (lramos15) merged 4 commits into
mainfrom
lramos15/general-tick
Sep 1, 2026
Merged

Logan Ramos (lramos15) merged 4 commits into
mainfrom
lramos15/general-tick

Conversation

@lramos15

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings September 1, 2026 19:56
@lramos15
Logan Ramos (lramos15) enabled auto-merge (squash) September 1, 2026 19:56
@lramos15 Logan Ramos (lramos15) self-assigned this Sep 1, 2026

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

🟢 Approval recommended

The notice translation and UI propagation are consistent with existing model-picker behavior and have focused test coverage.

Review tier: Balanced
Findings: None

What changed in this PR

Propagates SDK model warnings and informational notices into the chat model picker.

Changes:

  • Converts SDK notices into Agent Host metadata.
  • Displays warning icons, tooltips, and notice banners.
  • Adds focused propagation tests.
File Description
agentModelNotices.ts Converts and validates notice metadata.
copilotAgent.ts Adds notices to model metadata.
copilotAgent.test.ts Tests SDK notice conversion.
agentHostLanguageModelProvider.ts Exposes notices to the model picker.
agentHostLanguageModelProvider.test.ts Tests picker warning presentation.

💡 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 ebbbc9e into main Sep 1, 2026
40 checks passed
@lramos15
Logan Ramos (lramos15) deleted the lramos15/general-tick branch September 1, 2026 21:11
@vs-code-engineering vs-code-engineering Bot added this to the 1.137.0 milestone Sep 1, 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