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
Currently /dev don't support stop code generation. This PR introduces this functionality (watch the video below).
Mynah UI provides onStopChatResponse API which we can hook in the cancellation token provided on VS Code, sharing across an active session, aborting current progress.
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/FeatureDevApp.kt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,8 @@ class FeatureDevApp : AmazonQApp {
41
41
"response-body-link-click" to IncomingFeatureDevMessage.ClickedLink::class,
42
42
"insert_code_at_cursor_position" to IncomingFeatureDevMessage.InsertCodeAtCursorPosition::class,
43
43
"open-diff" to IncomingFeatureDevMessage.OpenDiff::class,
44
-
"file-click" to IncomingFeatureDevMessage.FileClicked::class
44
+
"file-click" to IncomingFeatureDevMessage.FileClicked::class,
45
+
"stop-response" to IncomingFeatureDevMessage.StopResponse::class
45
46
)
46
47
47
48
scope.launch {
@@ -82,6 +83,7 @@ class FeatureDevApp : AmazonQApp {
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/InboundAppMessagesHandler.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/clients/FeatureDevClient.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevController.kt
0 commit comments