Skip to content

Commit 9b51191

Browse files
fix(amazonq): rename QCodeReview tool to CodeReview
1 parent 9bb3be3 commit 9b51191

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/amazonq/src/lsp/chat/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ async function handlePartialResult<T extends ChatResult>(
671671
) {
672672
const decryptedMessage = await decryptResponse<T>(partialResult, encryptionKey)
673673

674-
// This is to filter out the message containing findings from qCodeReview tool to update CodeIssues panel
674+
// This is to filter out the message containing findings from CodeReview tool to update CodeIssues panel
675675
decryptedMessage.additionalMessages = decryptedMessage.additionalMessages?.filter(
676676
(message) =>
677677
!(message.messageId !== undefined && message.messageId.endsWith(CodeWhispererConstants.findingsSuffix))

packages/amazonq/src/lsp/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export async function startLanguageServer(
168168
reroute: true,
169169
modelSelection: true,
170170
workspaceFilePath: vscode.workspace.workspaceFile?.fsPath,
171-
qCodeReviewInChat: true,
171+
CodeReviewInChat: false,
172172
},
173173
window: {
174174
notifications: true,

packages/core/src/codewhisperer/models/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,4 +907,4 @@ export const predictionTrackerDefaultConfig = {
907907
maxSupplementalContext: 15,
908908
}
909909

910-
export const findingsSuffix = '_qCodeReviewFindings'
910+
export const findingsSuffix = '_CodeReviewFindings'

0 commit comments

Comments
 (0)