VS Code Insiders: Copilot Chat tool reports "sessionId" error even when file operations succeed #171208
Replies: 1 comment
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Copilot Feature Area
VS Code
Body
Bug Description:
When using GitHub Copilot Chat to perform file system operations (like creating a file with create_file or editing a file with insert_edit_into_file), the requested action is completed successfully in the VS Code editor. However, the Copilot Chat panel reports a tool error, and the AI model believes the action has failed.
The specific error message is: Cannot read properties of undefined (reading 'sessionId')
This indicates that the VS Code extension is correctly executing the file operation but is failing internally when trying to report the successful status back to the Copilot model.
Steps to Reproduce:
Expected Behavior:
The file should be edited, and Copilot Chat should show that the tool call was successful, allowing the conversation to proceed based on the successful action.
Actual Behavior:
The file is edited correctly, but Copilot Chat shows an error. The AI model is informed that the tool failed, leading to confusion and requiring the user to manually confirm that the action worked.
System Information:
VS Code Version: Version: 1.104.0-insider (Universal), Commit: 57235e35e5be1ea9db32da9b57862c9ea1880a7f
GitHub Copilot Version: 1.362.1759
Operating System: macOS
Logs:
Below are the diagnostics collected from the GitHub Copilot: Collect Diagnostics command.
Environment
Copilot
Network Configuration
Reachability
Beta Was this translation helpful? Give feedback.
All reactions