fix(webui): preserve session caches during history revalidation (#6636)
This commit is contained in:
1 parent
1046a37be1
commit
0ce10533d3
7 files changed
+68
-43
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user