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
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/messenger/ChatPromptHandler.kt
+21-10Lines changed: 21 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -95,13 +95,13 @@ class ChatPromptHandler(private val telemetryHelper: TelemetryHelper) {
95
95
96
96
// Send the Answer message to indicate the end of the response stream
97
97
val response =ChatMessage(
98
-
tabId = tabId,
99
-
triggerId = triggerId,
100
-
messageId = requestId,
101
-
messageType =ChatMessageType.Answer,
102
-
followUps = followUps,
103
-
userIntent = data.userIntent,
104
-
)
98
+
tabId = tabId,
99
+
triggerId = triggerId,
100
+
messageId = requestId,
101
+
messageType =ChatMessageType.Answer,
102
+
followUps = followUps,
103
+
userIntent = data.userIntent,
104
+
)
105
105
106
106
telemetryHelper.setResponseStreamTotalTime(tabId)
107
107
telemetryHelper.setResponseHasProjectContext(
@@ -133,12 +133,23 @@ class ChatPromptHandler(private val telemetryHelper: TelemetryHelper) {
0 commit comments