COPILOT_CUSTOM_INSTRUCTIONS_DIRS failing to load *.instructions.md
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Descrição
### 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_
Guia de contribuição
Direção de pesquisa
Nenhum arquivo-fonte ou teste é mencionado. Reproduza a configuração do Windows com COPILOT_CUSTOM_INSTRUCTIONS_DIRS e, em seguida, localize o tratamento da variável de ambiente e o caminho de descoberta de instruções; está concluído quando os arquivos *.instructions.md do diretório configurado aparecerem em /instructions.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- shell
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 40/100