github / github/copilot-cli

`copilot --continue` exit code 1 when changing model

未關閉
#2,524 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:models
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### 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_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。