Using PAT for github copilot company
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
It is possible to use a long term github copilot PAT as apikey (github_pat_xyz123) via env variable ?
thx
@snoopier AFAIK it's not possible to reach copilot models using only PAT, but if possible somehow it should be possible with ECA
Background why i tried to use a PAT. Because i get every 24h
Error on copilot login: { "message": "Bad credentials", "documentation_url": "https://docs.github.com/rest", "status": "401" } Error: Auth token renew failed Check ECA stderr for more details.
Then i 've to /login again thats anoying
@snoopier the renew token should work if not we should fix, can you help debug why is renewing not working for you?
What you see in stderr logs eca-show-stderr?
yes of course, i've to wait for tomorrow and then i check the stderr
i'm back tested with latest sources two days and can't reproduce. Renewing is working fine so no need for PAT.
closing