What you'd like to see
If you use a Personal Access Token (PAT) as your GITHUB_TOKEN and then try to use a github-copilot model, you will get a Bad Request response with the following error message:
Personal Access Tokens are not supported for this endpoint
This does not happen when the header Copilot-Integration-Id is set to the value copilot-developer-cli.
It would be nice if one could set the value of this header in the provider_opts object for github-copilot.
Why you'd like to see it
So that I can use my PAT when working with github-copilot models.
Workarounds?
Use a local models gateway.
What you'd like to see
If you use a Personal Access Token (PAT) as your
GITHUB_TOKENand then try to use a github-copilot model, you will get aBad Requestresponse with the following error message:Personal Access Tokens are not supported for this endpointThis does not happen when the header
Copilot-Integration-Idis set to the valuecopilot-developer-cli.It would be nice if one could set the value of this header in the
provider_optsobject for github-copilot.Why you'd like to see it
So that I can use my PAT when working with github-copilot models.
Workarounds?
Use a local models gateway.