github / github/copilot-cli

Resuming a session has strange ux with regards to model and reasoning

未关闭
#4,340 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:models area:sessions
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

If you have a session that's was done on `gpt-5.6-terra` with `medium`, and you `--resume` it, with either `--model=gpt-5.6-luna --reasoning-effort=xhigh` or `gpt-5.6-luna + xhigh` in your `~/.copilot/settings.json`, the `reasoningEffort` is honoured, but the model is not, and your resumed session will be on `gpt-5.6-terra xhigh`

Feels like this should be consistent? It should either:

- Explicitly honour the original session, keeping the settings the same
- Explicitly honour your copilot CLI args and/or settings.json

I would rather the latter personally, but raising this as a UX bug.

This also affects sessions resumed via copilot-sdk.

### Affected version

1.0.77

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

从 --resume 流程开始,跟踪恢复会话时如何应用 --model、--reasoning-effort 和 ~/.copilot/settings.json。也检查相应的 copilot-sdk resume 路径。当为 CLI 会话和 SDK 会话选择的优先级保持一致,并且 model 和 reasoning effort 具有回归覆盖时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
ai, cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。