Misleading prompt message when downloading a file
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 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_
コントリビューションガイド
調査の方向性
ADO pull request URL と PAT を指定し、その後 Copilot にコード diff を取得するよう依頼して、プロンプトを再現します。リモートダウンロード操作に対するプロンプト生成を追跡します。プロンプトがダウンロードを特定し、ローカルのターゲットパスを示し、リモートパスまたは URL を明確に区別できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100