mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-03 19:20:07 +02:00
fix(session): add pruning to SessionEntry reason type
The CompactionResult type includes "pruning" as a reason but SessionEntry did not, causing type errors when writing compaction entries. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,5 +23,5 @@ export type SessionEntry =
|
||||
tokensKept?: number | undefined;
|
||||
/** 摘要模式生成的摘要 */
|
||||
summary?: string | undefined;
|
||||
reason?: "count" | "tokens" | "summary" | undefined;
|
||||
reason?: "count" | "tokens" | "summary" | "pruning" | undefined;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user