- Copilot Chat Extension Version: 0.33.2
- VS Code Version:
1.106.1 1.106.2
- OS Version: Microsoft Windows 11 Enterprise, 10.0.28000 N/A Build 28000
- Feature (e.g. agent/edit/ask mode): Agent mode
- Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): It happens with Claude 4.5 and Gemini 3 Pro
- Logs:
[error] [GitServiceImpl][getRepositoryFetchUrls] Failed to read remotes from .git/config: Error: ENOENT: no such file or directory, stat 'c:\path\to\the\new\file'
Steps to Reproduce:
- Ask Agent mode to do a task that requires creating new files
- Include in your copilot-instructions.md to use
#tools:runSubAgent as much as possible. I'm not sure if this is relevant.
- At some point, the agent will hang forever in one task, and it fou look at the logs of Github Copilot Chat, you will always find an error like that one.