github / github/copilot-cli

Execution failed: 421 Misdirected Request listing models

Đang mở
#4,868 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.

triage
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

Hello, sorry for resuming the issue #173 , but today:

GitHub Copilot CLI 1.0.85.
Run 'copilot update' to check for updates.

Free copilot plan, i try to do /model and i get the issue:
Error loading model list: Error: 421 "Misdirected Request\n" (Request ID: ....)

Then i tried /model auto and that worked:
Model changed from claude-sonnet-5 (medium) to Auto for this session

And now i cant go back to my selected model, doing /model claude-sonnet-5 gives:
Unable to load available models list

Is this a bug or something expected related to free plan?

Affected version

GitHub Copilot CLI 1.0.85.

Steps to reproduce the behavior
  1. Resumed an old session, using a free plan
  2. type /model
  3. See the 421 error
Expected behavior

I expect to see the list of models when typing /model and to get a "model changed" confirmation when typing /model claude-sonnet-5

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 lỗi trong GitHub Copilot CLI 1.0.85 với gói miễn phí bằng cách tiếp tục một phiên và chạy /model, sau đó so sánh với /model auto và /model claude-sonnet-5. Theo dõi việc xử lý yêu cầu model-list và phản hồi 421; issue được hoàn tất khi cả việc liệt kê các model và việc chọn claude-sonnet-5 đều thành công kèm xác nhận.

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/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.