Skip to content
Discussion options

You must be logged in to vote

There is no native Copilot support in PR-Agent today, and no docs or registry entry for it. The pinned litellm 1.100.0 does expose a github_copilot provider, so in principle you can drive it through the custom-model route by setting model = "github_copilot/<model-id>" together with custom_model_max_tokens. The obstacle is authentication: litellm's Copilot authenticator uses an interactive GitHub device-code flow with an on-disk token cache, which does not fit an unattended CI runner without pre-seeding that cache. Nobody has verified this end to end, and whether Copilot's terms permit programmatic use this way is a question for GitHub, not for this project. Converting to a feature issue s…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by IsmaelMartinez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants