Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/src/platform/endpoint/node/capiClientImpl.ts
13400 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { IEnvService } from '../../env/common/envService';
7
import { IFetcherService } from '../../networking/common/fetcherService';
8
import { BaseCAPIClientService } from '../common/capiClient';
9
10
export class CAPIClientImpl extends BaseCAPIClientService {
11
12
constructor(
13
@IFetcherService fetcherService: IFetcherService,
14
@IEnvService envService: IEnvService
15
) {
16
super(
17
process.env.HMAC_SECRET,
18
process.env.VSCODE_COPILOT_INTEGRATION_ID,
19
fetcherService,
20
envService
21
);
22
}
23
}
24