private indexCache: IChatSessionIndexData | undefined;
private internalGetIndex(): IChatSessionIndexData {
return this.indexCache;
}
const data = this.storageService.get(ChatIndexStorageKey, this.getIndexStorageScope(), undefined);
if (!data) {
this.indexCache = { version: 1, entries: {} };
return this.indexCache;
}
try {