mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
Add reference to compaction.ts source file
This commit is contained in:
@@ -243,6 +243,8 @@ Split turn example (one huge turn that exceeds keepRecentTokens):
|
||||
The default compaction generates TWO summaries that get merged:
|
||||
1. History summary (previousSummary + messagesToSummarize)
|
||||
2. Turn prefix summary (messages from turnStartIndex to firstKeptEntryIndex)
|
||||
|
||||
See [src/core/compaction.ts](../src/core/compaction.ts) for the full implementation.
|
||||
```
|
||||
|
||||
**Event fields:**
|
||||
|
||||
Reference in New Issue
Block a user