Repository navigation
fix(onboarding): remove GitHub Copilot from the provider list - #2206
Merged
Merged
Conversation
Onboarding showed GitHub Copilot as "Free" with no API key, wrote a config entry, and reported "Connected". It never ran the GitHub OAuth sign-in, so the provider could not make a request. Remove the provider from PROVIDER_MODELS and PROVIDER_DISPLAY_NAMES and the Copilot hint from the webview. Tests now expect the provider to be absent. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1421
Problem
Onboarding listed "GitHub Copilot (Free)" with no API key. It wrote a config entry and showed "Connected". It never ran the GitHub OAuth sign-in. The provider could not make a request.
Change
github-copilotfromPROVIDER_MODELSandPROVIDER_DISPLAY_NAMES.noKeyProvidersis now empty.probeModels("github-copilot")returnsundefined. The two Copilot config-write tests are removed.The overlay is not changed, so no manifest refresh is needed.
Not in this PR
A real OAuth sign-in step for Copilot in onboarding. That needs its own issue.
Test
pnpm -r run typecheck: pass.onboarding_panelandcredential_scannertests: 142 pass, 2 fail. The same 2 fail on unchanged main (Windows 0600 mode and XDG path).🤖 Generated with Claude Code