diff --git a/src/github/copilotApi.ts b/src/github/copilotApi.ts index 09b8fb29e3..3246c89b23 100644 --- a/src/github/copilotApi.ts +++ b/src/github/copilotApi.ts @@ -21,6 +21,7 @@ const PREMIUM_REQUESTS_URL = 'https://docs.github.com/en/copilot/concepts/copilo export interface RemoteAgentJobPayload { problem_statement: string; + event_type: string; pull_request?: { title?: string; body_placeholder?: string; diff --git a/src/github/copilotRemoteAgent.ts b/src/github/copilotRemoteAgent.ts index f319ef8e3d..43392646bb 100644 --- a/src/github/copilotRemoteAgent.ts +++ b/src/github/copilotRemoteAgent.ts @@ -616,6 +616,7 @@ export class CopilotRemoteAgentManager extends Disposable { const problemStatement: string = `${prompt} ${problemContext ? `: ${problemContext}` : ''}`; const payload: RemoteAgentJobPayload = { problem_statement: problemStatement, + event_type: 'visual_studio_code_remote_agent_tool_invoked', pull_request: { title, body_placeholder: formatBodyPlaceholder(problemContext),