Closed
Description
- VS Code Version: 1.101.2
- OS Version: Windows 11 Enterprise 23H2
- GitHub Copilot:
github.copilot
1.336.0 - GitHub Copilot Chat:
github.copilot-chat
0.28.2
Steps to Reproduce:
- Ask agent to create a file: success
- Ask agent to change the file contents: error
Reviewing the "GitHub Copilot Chat" logs show the following:
I've tried:
- Uninstalling copilot extensions
- Log out/in
- Run vscode as administrator
Other copilot functionality works and I'm already successfully logged in, but the insert_edit_into_file
is failing with:
token expired or invalid: 403: Error: token expired or invalid: 403
at vnt.invoke (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2028:24907)
at async Ert.invokeTool (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2055:48881)
at async GXt.$invokeTool (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1264:20036)