Allow multi-turn conversations inside /ask
Chưa có ai nhận issue này.
- 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 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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu từ điểm vào của lệnh /ask và tái hiện một luồng làm rõ với một câu hỏi tiếp theo. Theo dõi cách chế độ xem bên xử lý đầu vào và ngữ cảnh, sau đó xác minh rằng các tin nhắn /ask trước đó vẫn tồn tại cho đến khi nhấn Esc, vẫn được tách biệt khỏi phiên chính và hỗ trợ nhiều lượt.
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
- Tính năng
- Độ 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
- 55/100