Skip to content

resumed session blocks access to model picker #3680

@mingley

Description

@mingley

Describe the bug

When I resume a session via copilot --resume, if I try to use /model command in the resumed session, all attempts are blocked with

✗ Error loading model list: Error: Not authenticated 

All other commands in copilot work fine, and I can continue talking to previously selected model as well, but I'm not able to pick a new model in the resumed session due to this.

Affected version

1.0.59

Steps to reproduce the behavior

  1. copilot --resume
  2. pick session
  3. resume session
  4. try to switch models with /model
  5. command is blocked with ✗ Error loading model list: Error: Not authenticated

Expected behavior

I can use /model in a resumed session.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authenticationLogin, OAuth, device auth, token management, and keychain integrationarea:modelsModel selection, availability, switching, rate limits, and model-specific behaviorarea:sessionsSession management, resume, history, session picker, and session state

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions