Describe the bug
When the agent file is configured with windows Line ending CRLF the Loading of the Agent fails with the above error but loads of in LF
Affected version
0.0.355 Commit: 90c0eb793
Steps to reproduce the behavior
- Create a custom agents file under
.github/agents/ with CRLF line ending
- Restart copilot
- Enter /agent command
Expected behavior
All Agent Loaded regardless of line ending to support both windows and Linux based line ending
Additional context
- OS Windows 11
- Terminal Emulator: Windows Terminal
- Shell Powershell 7
- CPU -x84