litellm/tests/unit/llms/github_copilot
ryan-crabbe-berri d39d29734c fix(github_copilot): let per-user connections work with a custom GitHub client ID (#50116)
GitHub only issues Copilot tokens through copilot_internal/v2/token to its own
Copilot apps, so a custom GITHUB_COPILOT_CLIENT_ID signed users in and then
failed with no Copilot access. With a custom client ID, look up the account at
copilot_internal/user for the seat and Copilot API address and send the user's
GitHub token straight to Copilot. The default client ID keeps the token swap.

Backport of #50116 to rc/1.107.0.
Cherry-picked from 74783d38ea (main).
2026-11-04 15:20:11 -08:00
..
embedding feat(github_copilot): per-user GitHub OAuth connections for Copilot credentials (#45241) 2026-10-09 15:19:07 -07:00
messages chore(github_copilot): sync model catalog with Copilot's served models (#45386) 2026-10-09 15:19:08 -07:00
responses chore(github_copilot): sync model catalog with Copilot's served models (#45386) 2026-10-09 15:19:08 -07:00
__init__.py test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
test_github_copilot_authenticator.py refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
test_github_copilot_transformation.py chore(github_copilot): sync model catalog with Copilot's served models (#45386) 2026-10-09 15:19:08 -07:00
test_github_host.py fix(github_copilot): let per-user connections work with a custom GitHub client ID (#50116) 2026-11-04 15:20:11 -08:00
test_per_user_auth.py fix(github_copilot): let per-user connections work with a custom GitHub client ID (#50116) 2026-11-04 15:20:11 -08:00