Misleading prompt message when downloading a file
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### 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.
### 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_
貢獻指南
研究方向
Reproduce the prompt by providing an ADO pull request URL and PAT, then asking Copilot to get the code diff. Trace the prompt generation for the remote download operation; done means the prompt identifies the download, shows local target paths, and clearly distinguishes the remote path or URL.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100