github / github/copilot-cli

Misleading prompt message when downloading a file

Đang mở
#3,213 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:permissions area:tools
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 bug

When I ask Copilot to get code diff from an ADO URL with ADO REST API, it asks permission to download the target files from the remote repo to local temp files.
1. It doesn't show the local temp file paths.
2. It shows the remote file path. But that path is incomplete such that it is not clear it is remote.
3. The message is vague and misleading because it is a remote file path and allowed path list typically considers the local paths.

Image

### Affected version

1.0.44

### Steps to reproduce the behavior

Provide an ADO PR URL and PAT as environment variables, ask copilot to get code diff. You will see the prompt similar to the screenshot.

### Expected behavior

I want the prompt message to be clear that this is a downloading file operation, show the local target file paths and names and clearly show the remote path as remote (for example, by adding the URL prefix)

### Additional context

_No response_

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

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

Đánh giá

Issue này chưa được đánh giá.

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.