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
* Emitting metrics for QCodeReview operations
* fix(amazonq): add scope attribute in the metric data for Scan metrics
* fix(amazonq): increase code review tool timeout
* fix(amazonq): add metrics metadata to QAgenticReview tool
* fix(amazonq): update metric metadata attribute names for QCodeReview tools
* fix(amazonq): redirect /review to use agentic chat
* fix(amazonq): rename QCodeReview tool to CodeReview
* fix(amazonq): fix the casing of variables
* fix(amazonq): emitting metrics based on definitions
* fix(amazonq): update prompts for tool & /review
* fix(amazonq): update prompts for tool
* feat(amazonq): redirect commands to use the agentic reviewer
* fix(amazonq): putting agentic review redirect behind feature flag
* fix(amazonq): change the review reroute card text
* fix(amazonq): when no active file is provided, ask the user for more input
* fix(amazonq): remove summary suppressor in prompt
* fix(amazonq): add programmingLanguages in telemetry
* fix(amazonq): change genericCommandString back to original format
* fix(amazonq): update codeReview unit tests
---------
Co-authored-by: mkovelam <[email protected]>
Co-authored-by: Nitish <[email protected]>
Co-authored-by: Nitish Kumar Singh <[email protected]>
Co-authored-by: Blake Lazarine <[email protected]>
@@ -1754,6 +1766,8 @@ const DEFAULT_TEST_PROMPT = `You are Amazon Q. Start with a warm greeting, then
1754
1766
1755
1767
constDEFAULT_DEV_PROMPT=`You are Amazon Q. Start with a warm greeting, then ask the user to specify what kind of help they need in code development. Present common questions asked (like Creating a new project, Adding a new feature, Modifying your files). Keep the question brief and friendly. Don't make assumptions about existing content or context. Wait for their response before providing specific guidance.`
1756
1768
1769
+
constDEFAULT_REVIEW_PROMPT=`You are Amazon Q. Start with a warm greeting, then use code review tool to perform code analysis of the open file. If there is no open file, ask what the user would like to review.`
Copy file name to clipboardExpand all lines: chat-client/src/client/tabs/tabFactory.ts
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ export class TabFactory {
28
28
privatemcp: boolean=false
29
29
privatemodelSelectionEnabled: boolean=false
30
30
privatereroute: boolean=false
31
+
privatecodeReviewInChat: boolean=false
31
32
privateshowLogs: boolean=false
32
33
initialTabId: string
33
34
@@ -124,10 +125,18 @@ export class TabFactory {
124
125
this.reroute=true
125
126
}
126
127
128
+
publicenableCodeReviewInChat(){
129
+
this.codeReviewInChat=true
130
+
}
131
+
127
132
publicisRerouteEnabled(): boolean{
128
133
returnthis.reroute
129
134
}
130
135
136
+
publicisCodeReviewInChatEnabled(): boolean{
137
+
returnthis.codeReviewInChat
138
+
}
139
+
131
140
publicgetDefaultTabData(): DefaultTabData{
132
141
consttabData={
133
142
...this.defaultTabData,
@@ -143,7 +152,7 @@ export class TabFactory {
143
152
icon: MynahIcons.INFO,
144
153
title: 'Q Developer agentic capabilities',
145
154
description:
146
-
"You can now ask Q directly in the chat to generate code, documentation, and unit tests. You don't need to explicitly use /dev, /test, or /doc",
155
+
"You can now ask Q directly in the chat to generate code, documentation, and unit tests. You don't need to explicitly use /dev, /test, /review or /doc",
0 commit comments