-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Update getErrors (GetErrors / problems) tool #394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@microsoft-github-policy-service agree |
|
This is for microsoft/vscode#257837. If anyone can give me guidance on how to test this locally (that is, install the updated extension in my VS code so the updated tool description is accessible to Copilot) I'd really appreciate it. Guidance on how to best implement this feature also welcome! |
2a502cd to
c41277d
Compare
Update this tool so it can gather all errors. * Updated model description so agent knows the tool can gather all errors * Updated implementation such that if no URL is given, the tool returns all errors.
c41277d to
96cf0b2
Compare
Made the 'filePaths' argument optional, and updated description to indicate how the argument should be used.
|
cc @roblourens |
|
If |
|
See the build errors |
* Made filePaths on IGetErrorParams optional, updated implementation of invoke accordingly. * Updated prepareInvoke to handle optional argument properly as well.
…7837-update-get-tools
|
Thanks @roblourens for your attention! I updated the interface, and realized I had not really restructed The |
|
BTW can you tell me how to install this into my local VS code so I can test it with copilot? I still don't know if the LLM will understand how to use this new tool definition. |
|
You should be able to just debug the extension normally to run it https://github.com/microsoft/vscode-copilot-chat/blob/main/CONTRIBUTING.md#developing |
|
I didn't have any luck running the extension (maybe due to use latest |
|
Can you share the trouble you had running the extension? I want it to be a good experience for external contributors. You may need to use VS Code Insiders, not the stable release, maybe that's the issue |
No problem! I am using Insiders; I usually write Haskell so running & debugging an extension is a little new. I didn't understand the "Launch Copilot Extension - Watch Mode" from CONTRIBUTING.md, but F5 did start the extension for me. When I open VS Code ("[Extension Development Host]" is in title bar, so I know its the version I launched), the copilot tab has no models for me to select. When I submit a message, I just get an endless spinner. Some screenshots to illustrate:
I am running based on Let me know if I can provide more! Happy to try something different. |
|
Interesting- I'm assuming that it didn't get built properly or is missing an |
|
@roblourens Thanks for your help with this! Excited to see it land! |
* Update getErrors (GetErrors / problems) tool Update this tool so it can gather all errors. * Updated model description so agent knows the tool can gather all errors * Updated implementation such that if no URL is given, the tool returns all errors. * Update tool definition Made the 'filePaths' argument optional, and updated description to indicate how the argument should be used. * Updates from review * Made filePaths on IGetErrorParams optional, updated implementation of invoke accordingly. * Updated prepareInvoke to handle optional argument properly as well. * Tweaks --------- Co-authored-by: Rob Lourens <[email protected]>





Update this tool so it can gather all errors.
Fixes microsoft/vscode#260675