Repository navigation
Commit c1b0732
refactor(provider): remove the GitHub Copilot provider (#187)
Delete the forked Copilot OpenAI-compatible SDK, the Copilot auth plugin,
and every Copilot branch in provider loading, transforms, error mapping,
the auth picker and the GitHub install command. Drop the now-unused
@ai-sdk/provider-utils dependency and the Copilot-only enterpriseUrl
config/auth fields and COPILOT_ env substitution prefix.
models.dev still lists github-copilot, so ModelsDev.get() filters it out:
GITHUB_TOKEN no longer autoloads it, stored github-copilot auth entries
are ignored, and a model reference to github-copilot takes the normal
ModelNotFoundError path.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent f30eda8 commit c1b0732
45 files changed
Lines changed: 64 additions & 6282 deletions
File tree
- packages/cli
- src
- auth
- cli/cmd
- config
- plugin
- provider
- sdk/copilot
- chat
- responses
- tool
- session
- test
- plugin
- provider
- copilot
- session
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
316 | 315 | | |
317 | 316 | | |
318 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
956 | 956 | | |
957 | 957 | | |
958 | 958 | | |
959 | | - | |
960 | 959 | | |
961 | 960 | | |
962 | 961 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
This file was deleted.
0 commit comments