github / github/copilot-cli

Allow multi-turn conversations inside /ask

Đang mở
#4,579 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

triage
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.

  1. Keep the input available after each response.
  2. Include previous /ask messages when processing follow-up questions.
  3. Preserve this local context until the user closes the /ask view.
  4. Let Esc close the side conversation and return to the main session.
  5. 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
  1. Run /ask Why does this API require a cancellation token?. Copilot asks which runtime or API version is being used. Answer inside the same /ask view, then receive a response that uses both messages.
  2. Run /ask Compare these two implementation approaches. Copilot asks which constraint matters most. Supply the constraint without adding either message to the main session.
  3. Run /ask Explain this error. Copilot asks for a missing command or version. Provide it, receive the explanation, then press Esc to return to the unchanged main session.
Additional context

This replaces #4538 and #4577, which were submitted without the Feature Request form.

Related requests:

  1. #92 requests a broader conversation mode that does not perform agent actions.
  2. #2885 documents the current dead end when /ask produces a response that requires follow-up interaction.

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. 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

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.