Skip to content
Closed

Test PR #7711

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/amazonq/src/lsp/chat/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ async function handlePartialResult<T extends ChatResult>(
) {
const decryptedMessage = await decryptResponse<T>(partialResult, encryptionKey)

// This is to filter out the message containing findings from qCodeReview tool to update CodeIssues panel
// This is to filter out the message containing findings from CodeReview tool to update CodeIssues panel
decryptedMessage.additionalMessages = decryptedMessage.additionalMessages?.filter(
(message) =>
!(message.messageId !== undefined && message.messageId.endsWith(CodeWhispererConstants.findingsSuffix))
Expand Down
2 changes: 1 addition & 1 deletion packages/amazonq/src/lsp/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export async function startLanguageServer(
reroute: true,
modelSelection: true,
workspaceFilePath: vscode.workspace.workspaceFile?.fsPath,
qCodeReviewInChat: true,
codeReviewInChat: true,
},
window: {
notifications: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/codewhisperer/models/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -907,4 +907,4 @@ export const predictionTrackerDefaultConfig = {
maxSupplementalContext: 15,
}

export const findingsSuffix = '_qCodeReviewFindings'
export const findingsSuffix = '_codeReviewFindings'
Loading