setting github copilot as provider asks for api key
When running 'opencode auth login' and setting github copilot as provider, it asks for an api key instead of opening an oauth session in the browser to verify.
My Coplit Login was working for an initial session, but now I get
Version: 0.1.128
@sluipmoord when selecting models you need to switch provider to GitHub Copilot using left and right
can you try this again?
The issue still seems to persist, tried reinstalling as well.
@thdxr On my end, it seems to have worked this morning. Thank you. Other models are a bit too pricey, especially where I'm from, but I have access to Github Copilot Pro, so I'm excited to have the ability to use opencode
Version 0.1.133
@Mel28vin try to type anything as an API key and complete the auth process, then try to open opencode auth again. It fixed the issue on my instance :D I had the same problem and suddenly it started working.
It works now, thanks
When running 'opencode auth login' and setting github copilot as provider, it asks for an api key instead of opening an oauth session in the browser to verify.
Same problem for me
@Mel28vin try to type anything as an API key and complete the auth process, then try to open opencode auth again. It fixed the issue on my instance :D I had the same problem and suddenly it started working.
I tried this @niba but it still doesn't seem to work, I've tried upgrading to v0.1.150 as well via brew.
This is definitely still an issue! Me and a colleague tried the GH Copilot auth setup independently on fresh installations and it seems to roll a dice on whether to ask for an API key or start the oauth flow 😅 @thdxr