fix(webui): admit history without dropping live output (NAN-311)
This commit is contained in:
1 parent
df63526ddf
commit
b37a23698d
21 files changed
+3026
-1607
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import type { ThreadCheckpoint } from "./thread-checkpoint";
|
||||
import type { ThreadTranscriptSnapshot } from "./thread-transcript";
|
||||
import { MemoryLruCache } from "./memory-lru-cache";
|
||||
|
||||
/** Bounded replay cache; temporary chats remain pinned because they have no disk history. */
|
||||
export class ThreadMessageCache<T extends ThreadCheckpoint = ThreadCheckpoint> extends MemoryLruCache<T> {
|
||||
export class ThreadMessageCache extends MemoryLruCache<ThreadTranscriptSnapshot> {
|
||||
|
||||
constructor(
|
||||
isPinned: (key: string) => boolean,
|
||||
|
||||
Reference in new issue
Block a user