github / github/copilot-cli

resumed session blocks access to model picker

Đang mở
#3,680 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:authentication 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

When I resume a session via `copilot --resume`, if I try to use `/model` command in the resumed session, all attempts are blocked with

```
✗ Error loading model list: Error: Not authenticated
```

All other commands in copilot work fine, and I can continue talking to previously selected model as well, but I'm not able to pick a new model in the resumed session due to this.

### Affected version

1.0.59

### Steps to reproduce the behavior

1. `copilot --resume`
2. pick session
3. resume session
4. try to switch models with `/model`
5. command is blocked with `✗ Error loading model list: Error: Not authenticated`

### Expected behavior

I can use `/model` in a resumed session.

### Additional context

_No response_

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

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

Hướng nghiên cứu

Reproduce the issue with `copilot --resume`, select a session, and run `/model`. Trace the resumed-session model-list request and its authentication handling; done means `/model` loads the model list and allows switching models in a resumed session without affecting other commands.

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
authentication, 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
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.