config: example for context.summarize_every_n_turns (#101)
Documents the new cadence-summarization keys (summarize_every_n_turns, summarize_keep_recent) inline with the existing Phase 5 eviction summarize block. Notes the composition with summarize_on_evict and the Norris suppression parity. Config-only commit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+11
@@ -358,6 +358,17 @@ return {
|
|||||||
-- summarize_on_evict = true,
|
-- summarize_on_evict = true,
|
||||||
-- summarizer_model = "fast", -- model name in models{}
|
-- summarizer_model = "fast", -- model name in models{}
|
||||||
-- max_summary_chars = 2000,
|
-- max_summary_chars = 2000,
|
||||||
|
--
|
||||||
|
-- -- #101 (proactive periodic summarization). When set,
|
||||||
|
-- -- enforce_cadence fires every N appends (before
|
||||||
|
-- -- enforce_budget) and folds turns OLDER than
|
||||||
|
-- -- summarize_keep_recent into ctx.summary. Goal: keep the
|
||||||
|
-- -- wire prompt tight from the start so small local models
|
||||||
|
-- -- aren't fed near-budget context until eviction. Composes
|
||||||
|
-- -- with summarize_on_evict (same summarize_fn closure;
|
||||||
|
-- -- different trigger). Suppressed in Norris (R-C4 parity).
|
||||||
|
-- summarize_every_n_turns = 10, -- nil = disabled (default)
|
||||||
|
-- summarize_keep_recent = 4,
|
||||||
-- },
|
-- },
|
||||||
-- When summarize_on_evict is true, evicted turn pairs are fed to
|
-- When summarize_on_evict is true, evicted turn pairs are fed to
|
||||||
-- summarizer_model and the result lives on ctx.summary, appended to
|
-- summarizer_model and the result lives on ctx.summary, appended to
|
||||||
|
|||||||
Reference in New Issue
Block a user