Repository navigation
Error loading model list: Error: Not authenticated #3596
Description
Activity
- addedarea:sessionsSession management, resume, history, session picker, and session stateSession management, resume, history, session picker, and session statearea:authenticationLogin, OAuth, device auth, token management, and keychain integrationLogin, OAuth, device auth, token management, and keychain integrationarea:modelsModel selection, availability, switching, rate limits, and model-specific behaviorModel selection, availability, switching, rate limits, and model-specific behavior
on May 31, 2026 As a workaround, you can
/logout, restart your terminal, and/loginagain. It worked for me.Reacted by Danylo Mysak, Jason Plackey and Simon BaynesThis seems to affect PowerShell only. While
/loginagain works. It doesn't persist at all. No need to restart terminal.Reacted by FMC-Mauro and Rhemax/logoutis not possible if you are authenticated viagh. Doinggh auth refreshdoes not solve the problem with not being able to list/switch models in a resumed session.I'm getting this error while SSH into a linux machine....
Still happens in GitHub Copilot CLI 1.0.61 using PS. /logout / login does not work.
The gh auth refresh does not work either, not for /resume
Without doing /resume I can list the models.
Edit: /restart seems to work.
Reacted by istkinoshitaSam problem here and very annoying... especially as restarting seem to even consume AI credits according to the statusbar output 👎
still an issue, this is super annoying, totally breaks my usual work habits, and costs tokens 👎🏻👎🏻👎🏻
Reacted by Christoph LäubrichThis should be fixed in the latest version of copilot cli now. Can you please check? I tried to repro the issue in a DevBox machine, but I was not able to with
1.0.67(while I was able to repro with e.g.1.0.61).Please reopen with further details if the issue is still present.
Describe the bug
When I resume a specific session I am unable to list the models available with the
/modelcommand. I this error:✗ Error loading model list: Error: Not authenticated.If I start a new session then I can do this no problem.
Affected version
v1.0.56
Steps to reproduce the behavior
/resumecommand/modelExpected behavior
/resumecommand/modelAdditional context