github / github/copilot-cli

resumed session blocks access to model picker

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

描述

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

貢獻指南

開啟貢獻指南

研究方向

使用 `copilot --resume` 重現此問題,選取一個工作階段並執行 `/model`。追蹤已恢復工作階段的模型清單請求及其驗證處理;完成條件是 `/model` 能載入模型清單,並允許在已恢復的工作階段中切換模型,同時不影響其他命令。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
authentication, cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

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

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