mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-21 15:49:15 +01:00
a1abedfea0
Bump @github/copilot in root and remote package.json to ^1.0.28 to match the version pinned by the bundled copilot extension (extensions/copilot). Also adds a real-SDK integration test for listModels that subscribes to the root state, authenticates, and asserts every model has a well-formed shape (id, name, numeric maxContextWindow). This guards against SDK schema drift like the issue in 1.0.34, where the server returned models with optional capabilities.limits, causing _listModels to throw a TypeError that _refreshModels silently swallowed (resulting in no models in the UI). Drive-by: fix stale provider id 'copilot' -> 'copilotcli' in the same test file. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>