2880
2881
private async _resolveProxyForSdk(env: Record<string, string | undefined> = process.env): Promise<string | undefined> {
2883
return undefined;
2884
}
2886
this._logService.debug('[Copilot] Proxy env var already set; leaving Copilot SDK proxy configuration to the environment');
2887
return undefined;
2888
}
2890
>
let capiUrl = env['VSCODE_AGENT_HOST_CAPI_URL_OVERRIDE'] || COPILOT_CAPI_URL;
2891
>
if (this._githubToken) {
2892
try {
2893
const discovered = await this._copilotApiService.resolveApiEndpoint(this._githubToken);