Allow multi-turn conversations inside /ask
未关闭
还没有人认领这个 Issue。
triage
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
Describe the feature or problem you'd like to solve
The /ask command isolates a question from the main conversation, but it only supports one turn. When Copilot asks for clarification, the user cannot answer within the same /ask context.
Proposed solution
Keep /ask isolated from the main conversation while allowing multiple turns inside the same /ask view.
- Keep the input available after each response.
- Include previous
/askmessages when processing follow-up questions. - Preserve this local context until the user closes the
/askview. - Let
Escclose the side conversation and return to the main session. - Do not add the side conversation to the main session unless the user explicitly chooses to do so.
This preserves the purpose of /ask, which is avoiding changes to the primary conversation, while allowing users to clarify questions and reach a useful answer.
Example prompts or workflows
- Run
/ask Why does this API require a cancellation token?. Copilot asks which runtime or API version is being used. Answer inside the same/askview, then receive a response that uses both messages. - Run
/ask Compare these two implementation approaches. Copilot asks which constraint matters most. Supply the constraint without adding either message to the main session. - Run
/ask Explain this error. Copilot asks for a missing command or version. Provide it, receive the explanation, then pressEscto return to the unchanged main session.
Additional context
This replaces #4538 and #4577, which were submitted without the Feature Request form.
Related requests:
- #92 requests a broader conversation mode that does not perform agent actions.
- #2885 documents the current dead end when
/askproduces a response that requires follow-up interaction.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 /ask 命令的入口点开始,复现一个带有后续问题的澄清流程。跟踪侧边视图如何处理输入和上下文,然后验证之前的 /ask 消息会一直保留到 Esc,与主会话保持隔离,并支持多轮交互。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100