Skip to content

Commit 8333496

Browse files
Copilotbenibenj
andauthored
Fix GDPR comment event names and JSON syntax in copilotRemoteAgentTool.ts (#7234)
* Initial plan * Fix GDPR comment event names and JSON syntax Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
1 parent d1eb3f1 commit 8333496

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lm/tools/copilotRemoteAgentTool.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ export class CopilotRemoteAgentTool implements vscode.LanguageModelTool<CopilotR
8585
}
8686

8787
/* __GDPR__
88-
"remoteAgent.tool.invoke" : {
88+
"copilot.remoteAgent.tool.invoke" : {
8989
"hasExistingPR" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
9090
"hasBody" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
91-
},
91+
}
9292
*/
9393
this.telemetry.sendTelemetryEvent('copilot.remoteAgent.tool.invoke', {
9494
hasExistingPR: pullRequestNumber ? 'true' : 'false',
@@ -105,7 +105,7 @@ export class CopilotRemoteAgentTool implements vscode.LanguageModelTool<CopilotR
105105
const result = await this.manager.invokeRemoteAgent(title, body);
106106
if (result.state === 'error') {
107107
/* __GDPR__
108-
"remoteAgent.tool.invoke" : {
108+
"copilot.remoteAgent.tool.error" : {
109109
"reason" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
110110
}
111111
*/

0 commit comments

Comments
 (0)