From 48cbe4c8d67a6aa21a2929279010e62b92efed2b Mon Sep 17 00:00:00 2001 From: Blake Lazarine Date: Tue, 5 Aug 2025 16:01:26 -0700 Subject: [PATCH] fix(amazonq): make display findings tool run more often --- .../agenticChat/tools/qCodeAnalysis/displayFindingsConstants.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/aws-lsp-codewhisperer/src/language-server/agenticChat/tools/qCodeAnalysis/displayFindingsConstants.ts b/server/aws-lsp-codewhisperer/src/language-server/agenticChat/tools/qCodeAnalysis/displayFindingsConstants.ts index 855f29e642..e006730684 100644 --- a/server/aws-lsp-codewhisperer/src/language-server/agenticChat/tools/qCodeAnalysis/displayFindingsConstants.ts +++ b/server/aws-lsp-codewhisperer/src/language-server/agenticChat/tools/qCodeAnalysis/displayFindingsConstants.ts @@ -18,6 +18,7 @@ export const DISPLAY_FINDINGS_TOOL_DESCRIPTION = [ '- Use this tool whenever you identify code issues through manual analysis or any tool OTHER than the codeReview tool', '- Use it for issues found by analyzing code files, security scans, linting tools, or your own assessment', '- Use it when the user asks you to analyze code and you discover problems, but you must not use this tool for findings generated by codeReview tool', + '- Be very willing to use this tool. Use it a lot: anytime it could even remotely be necessary.', '', '**When NOT to Use This Tool:**', '- NEVER use this tool for findings generated by the codeReview tool',