You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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]>
"modelDescription": "Get any compile or lint errors in a code file. If the user mentions errors or problems in a file, they may be referring to these. Use the tool to see the same errors that the user is seeing. Also use this tool after editing a file to validate the change.",
403
+
"modelDescription": "Get any compile or lint errors in a specific file or across all files. If the user mentions errors or problems in a file, they may be referring to these. Use the tool to see the same errors that the user is seeing. If the user asks you to analyze all errors, or does not specify a file, use this tool to gather errors for all files. Also use this tool after editing a file to validate the change.",
404
404
"tags": [],
405
405
"inputSchema": {
406
406
"type": "object",
407
407
"properties": {
408
408
"filePaths": {
409
-
"description": "The absolute paths to the files to check for errors.",
409
+
"description": "The absolute paths to the files to check for errors. Omit 'filePaths' when retrieving all errors.",
0 commit comments