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/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/flareChat/ChatCommunicationManager.kt
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -80,12 +80,13 @@ class ChatCommunicationManager {
80
80
val errorTitle ="An error occurred while processing your request."
81
81
val errorMessage ="Details: ${exception.message}"
82
82
val errorParams =Gson().toJson(ErrorParams(tabId, null, errorMessage, errorTitle)).toString()
83
+
val isPartialResult =false
83
84
val uiMessage ="""
84
85
{
85
86
"command":"$CHAT_ERROR_PARAMS",
86
87
"tabId": "$tabId",
87
-
"params": "$errorParams",
88
-
"isPartialResult": "true"
88
+
"params": $errorParams,
89
+
"isPartialResult": $isPartialResult
89
90
}
90
91
""".trimIndent()
91
92
return uiMessage
@@ -99,13 +100,6 @@ class ChatCommunicationManager {
0 commit comments