Skip to content

copilot --continue exit code 1 when changing model #2524

@doggy8088

Description

@doggy8088

Describe the bug

I hope changing the model won’t break Copilot on the next launch. Currently, it exits with code 1.

Affected version

GitHub Copilot CLI 1.0.18.

Steps to reproduce the behavior

  1. Run copilot
  2. Enter hi
  3. exit copilot
  4. change to another model by edit ~/.copilot/config.json or change model in the copilot.
  5. Run copilot again.
  6. You can't enter any prompt.

Expected behavior

I expected Copilot CLI should handle everything for me. It should load context from the last session even using different model.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions