fix(webui): preserve session caches during history revalidation (#6636)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-12 16:08:48 +08:00
1 parent 1046a37be1
commit 0ce10533d3
7 files changed
+68 -43

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export class ThreadMessageCache extends MemoryLruCache<ThreadTranscriptSnapshot>
constructor(
isPinned: (key: string) => boolean,
maxBytes = 16 * 1024 * 1024,
maxBytes = 32 * 1024 * 1024,
maxEntries = 12,
) {
super(maxBytes, maxEntries, (key) => !isPinned(key));