mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 13:04:08 +00:00
Add reference to compaction.ts source file
This commit is contained in:
parent
35a40b2197
commit
27250c860b
1 changed files with 2 additions and 0 deletions
|
|
@ -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:**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue