`copilot --continue` exit code 1 when changing model
Open
area:models
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.