mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-06 07:48:06 +00:00
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. |
||
|---|---|---|
| .. | ||
| embedding | ||
| messages | ||
| responses | ||
| __init__.py | ||
| test_github_copilot_authenticator.py | ||
| test_github_copilot_transformation.py | ||
| test_github_host.py | ||
| test_per_user_auth.py | ||