litellm/tests/unit/llms/github_copilot
Mateo Wang 9c5cd5a745
fix(github_copilot): explain why a Copilot call failed and how to fix it (#52352)
* fix(github_copilot): explain why a Copilot call failed and how to fix it

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(github_copilot): name the proxy URL in the connect command and stop blaming valid keys when the lookup fails

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(github_copilot): tell custom GitHub App users to check the Copilot Requests permission

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(github_copilot): name the GitHub account behind a Copilot model rejection

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(exception_mapping): merge the Copilot hint condition into one if

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* chore(exception_mapping): mark the Copilot hint rebind

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* chore(exception_mapping): keep the rebind marker on the assignment line

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(github_copilot): keep the connected GitHub login so model errors can name it

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(exception_mapping): skip the device-login app hint for GitHub App installation sessions

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(github_copilot): drive the chat model error through a mocked HTTP transport, not a patched completion

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(github_copilot): report a credential database outage as a failed lookup, not a missing connection

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-18 02:31:12 +00:00
..
embedding fix(github-copilot): send the GitHub token directly instead of exchanging it (#50126) 2026-11-05 09:45:17 -08:00
messages fix(github-copilot): send the GitHub token directly instead of exchanging it (#50126) 2026-11-05 09:45:17 -08:00
responses feat(github_copilot): support GitHub App authentication with PEM upload (#51427) 2026-11-14 10:33:20 -05: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_app_auth.py fix(copilot): accept empty or whitespace stored key with key ref (#52014) (#52032) 2026-11-16 22:03:15 -08:00
test_github_copilot_authenticator.py fix(github-copilot): send the GitHub token directly instead of exchanging it (#50126) 2026-11-05 09:45:17 -08:00
test_github_copilot_transformation.py fix(github_copilot): send the Copilot CLI integration id for a custom GitHub App (#52386) 2026-11-18 01:27:31 +00:00
test_github_host.py fix(github-copilot): send the GitHub token directly instead of exchanging it (#50126) 2026-11-05 09:45:17 -08:00
test_per_user_auth.py fix(github_copilot): explain why a Copilot call failed and how to fix it (#52352) 2026-11-18 02:31:12 +00:00