From 5aa22d1eb0e2adf2f0e55c360dbc3300656533ed Mon Sep 17 00:00:00 2001 From: Will Lo <96078566+Will-ShaoHua@users.noreply.github.com> Date: Wed, 18 Oct 2023 12:01:39 -0700 Subject: [PATCH] telemetry: upstream codewhisperer definitions #583 * add type codewhispererCustomizationArn * add codewhispererCustomizationArn to serviceInvocation, codePercentage, userTriggerDecision --- telemetry/definitions/commonDefinitions.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/telemetry/definitions/commonDefinitions.json b/telemetry/definitions/commonDefinitions.json index 415eac35..bdb54840 100644 --- a/telemetry/definitions/commonDefinitions.json +++ b/telemetry/definitions/commonDefinitions.json @@ -512,6 +512,11 @@ "type": "int", "description": "cursor location offset in the editor when invoking CodeWhisperer for recommendation" }, + { + "name": "codewhispererCustomizationArn", + "type": "string", + "description": "The currently selected customization arn(None if using the base model)" + }, { "name": "codewhispererLanguage", "type": "string", @@ -2564,6 +2569,10 @@ }, { "type": "successCount" + }, + { + "type": "codewhispererCustomizationArn", + "required": false } ], "passive": true @@ -2712,6 +2721,10 @@ }, { "type": "codewhispererUserGroup" + }, + { + "type": "codewhispererCustomizationArn", + "required": false } ] }, @@ -2935,6 +2948,10 @@ }, { "type": "codewhispererUserGroup" + }, + { + "type": "codewhispererCustomizationArn", + "required": false } ] },