github / github/copilot-cli

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

Đang mở
#2,524 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
area:models
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.