constructor(
@IAgentConfigurationService private readonly _configurationService: IAgentConfigurationService,
agentHostGitHubEndpointService.ts
@ILogService private readonly _logService: ILogService,
) {
super();
const resolved = this._resolve();
this._endpoints = resolved.endpoints;
this._enterpriseUri = resolved.enterpriseUri;
this._register(this._configurationService.onDidRootConfigChange(() => {
const next = this._resolve();
// `onDidRootConfigChange` fires for every root-config key; only react