Update docs/design/DDR-session-summarization.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
bbb1ed6033
commit
b0bd077d7a
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ Session context grows without bound during long conversations. The original impl
|
|||
- `MaybeSummarize(key)` — threshold check + async dispatch.
|
||||
- `ForceCompression(key)` — emergency drop of older half.
|
||||
- `ApplySummarization(key, summary, snapshotLen, keepLast)` — atomic merge that compares `snapshotLen` to current message count, preserving messages appended during async work.
|
||||
- `summarizeSession(ctx, key)` — unexported, handles single/multi-part batching.
|
||||
- `summarizeSession(sessionKey string)` — unexported, handles single/multi-part batching.
|
||||
|
||||
2. **MUST** define a `Summarizer` interface in `pkg/session`:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue