github / github/copilot-cli

COPILOT_CUSTOM_INSTRUCTIONS_DIRS failing to load *.instructions.md

オープン
#1,982 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
area:configuration area:context-memory
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the bug

Setting the COPILOT_CUSTOM_INSTRUCTIONS_DIRS as a user-level environment variable does not produce the expected results as per the documentation. Instructions at the location specified are not loading.

### Affected version

GitHub Copilot CLI 1.0.3.

### Steps to reproduce the behavior

1. Set COPILOT_CUSTOM_INSTRUCTIONS_DIRS in Windows environment to %APPDATA%\Code\User\prompts
2. Load Copilot
3. /instructions, the instructions from this did not load.

### Expected behavior

Setting the COPILOT_CUSTOM_INSTRUCTIONS_DIRS should load *.instructions.md files from this location. This does not happen.

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。