github / github/copilot-cli

COPILOT_CUSTOM_INSTRUCTIONS_DIRS failing to load *.instructions.md

Abierto
#1,982 0 comentarios 2 reacciones 0 asignados Ver en GitHub
area:configuration area:context-memory
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### 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_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.