Fix exp id logging (#13430)

This commit is contained in:
owenofbrien
2025-11-21 14:44:50 -06:00
committed by GitHub
parent 0713c86dec
commit 64eb14ab11
11 changed files with 92 additions and 45 deletions
+11
View File
@@ -689,6 +689,17 @@ export class Config {
this.inFallbackMode = false;
}
async getExperimentsAsync(): Promise<Experiments | undefined> {
if (this.experiments) {
return this.experiments;
}
const codeAssistServer = getCodeAssistServer(this);
if (codeAssistServer) {
return getExperiments(codeAssistServer);
}
return undefined;
}
getUserTier(): UserTierId | undefined {
return this.contentGenerator?.userTier;
}