github / github/copilot-cli

COPILOT_CUSTOM_INSTRUCTIONS_DIRS failing to load *.instructions.md

Đang mở
#1,982 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
area:configuration area:context-memory
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

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_

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.