I can't change Github Copilot account in 0.45

I have to use work account for Github Copilot (to use o1 havily) and personal github accout for Cursor

Unlike VS Code, I can not use a separate account for Github Copilot, the switch does not work.

Steps to reproduce:

  1. Open Extensions, find Github Copilot
  2. Click gear icon
  3. Click Account preferences
  4. Select required account
  5. Start any chat in Github Copilot Chat
  6. See that old account is used

I have tried to log out from all accounts and login first to github account for Copilot
If I try to push code to personal account - Copilot switches automatically to personal account from work account. In VSCode it works fine

Details:
Version: 0.45.7
VSCode Version: 1.96.2
Commit: 6ea842450e04c5537da4d83d51823fae13bb30f0
Date: 2025-01-30T18:32:32.733Z (12 hrs ago)
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631

@deanrie Could you take a look, please?

Hey, did I understand correctly that you want to use two different accounts? Unfortunately, it’s not working for me either. I’ll report this to our team.

Yes, correct. I have to use 2 github accounts for my work

1 Like

Are you sure this works in VS Code? I just tried to do the same thing, and it didn’t work for me.

Yes
I have used this solution How can I switch the Github account associated with Github Copilot in Visual Studio? · community · Discussion #68770 · GitHub

Environment:
Version: 1.96.4 (user setup)
Commit: cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba
Date: 2025-01-16T00:16:19.038Z (2 weeks ago)
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631

I have checked only this path:

  1. Open Extensions, find Github Copilot
  2. Click gear icon
  3. Click Account preferences
  4. Select required account
  5. Start any chat in Github Copilot Chat
  6. See new account is used

Also you may need reload VSCode

Ah, okay, let me test it.

I got it to work, but you need to do this with the GitHub Copilot Chat extension, not GitHub Copilot. It works for me.

1 Like

Oh. You are lifesaver
Thank you a lot for your work!

1 Like

Can here to say thanks too!

1 Like