github / github/copilot-cli

Copilot CLI resume session switches back to default model

Đang mở
#4,397 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

area:models area:sessions
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

bug: Copilot CLI resume session switches automatically back to default model

Affected version

GitHub Copilot CLI 1.0.78.

Steps to reproduce the behavior

Steps to reproduce

  1. Start a session with a specific model:
copilot --yolo --model=gpt-5.6-terra --reasoning-effort=high
  1. Work in the session and exit Copilot CLI.

  2. Resume the session:

copilot --resume <session-id>

or:

copilot --model=gpt-5.6-terra --reasoning-effort=high --resume <session-id>

After finishing loading the session , Copilot CLI silently switches to the default model before any human input.

The conversation context is restored correctly, but the selected model is not preserved.

Expected behavior

The resumed session should continue using gpt-5.6-terra in the begining .

Expected behavior

No response

Additional context

No response

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện vấn đề với GitHub Copilot CLI 1.0.78 bằng các lệnh --model, --reasoning-effort và --resume được liệt kê. Theo dõi cách phiên được tiếp tục khôi phục cuộc trò chuyện và model đã chọn; hoàn tất có nghĩa là khi tiếp tục một phiên, gpt-5.6-terra vẫn hoạt động trước input tiếp theo của người dùng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
58/100

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.