Skip to content

Commit 29d8df3

Browse files
committed
minor edits
1 parent da650e8 commit 29d8df3

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/telemetry/TelemetryHelper.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class TelemetryHelper(private val context: AmazonQAppInitContext, private val se
220220
cwsprChatCodeBlockIndex = message.codeBlockIndex?.toLong(),
221221
cwsprChatTotalCodeBlocks = message.totalCodeBlocks?.toLong(),
222222
cwsprChatHasProjectContext = getMessageHasProjectContext(message.messageId),
223-
cwsprChatProgrammingLanguage = message.codeBlockLanguage,
223+
// cwsprChatProgrammingLanguage = message.codeBlockLanguage,
224224
)
225225
ChatInteractWithMessageEvent.builder().apply {
226226
conversationId(getConversationId(message.tabId).orEmpty())
@@ -246,7 +246,7 @@ class TelemetryHelper(private val context: AmazonQAppInitContext, private val se
246246
cwsprChatCodeBlockIndex = message.codeBlockIndex?.toLong(),
247247
cwsprChatTotalCodeBlocks = message.totalCodeBlocks?.toLong(),
248248
cwsprChatHasProjectContext = getMessageHasProjectContext(message.messageId),
249-
cwsprChatProgrammingLanguage = message.codeBlockLanguage,
249+
// cwsprChatProgrammingLanguage = message.codeBlockLanguage,
250250
)
251251
ChatInteractWithMessageEvent.builder().apply {
252252
conversationId(getConversationId(message.tabId).orEmpty())

plugins/core/jetbrains-community/resources/telemetryOverride.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,6 @@
9999
"type": "int",
100100
"description": "Cpu usage of LSP server"
101101
},
102-
{
103-
"name": "cwsprChatProgrammingLanguage",
104-
"type": "string",
105-
"description": "Programming language associated with the message"
106-
},
107102
{
108103
"name": "cwsprChatConversationType",
109104
"type": "string",

0 commit comments

Comments
 (0)