Skip to main content

SUMMARY_PREFIX

Constant SUMMARY_PREFIX 

Source
pub const SUMMARY_PREFIX: &str = "An alternate model reviewed this conversation \
and produced a condensed summary of its reasoning. You have access to all \
tool outputs from that session. Build upon this foundation without repeating \
the work that was already completed. Use the following summary to inform your approach:";
Expand description

Prefix injected in front of every summary produced by the compressor.

The summarizer prepends this block to the summary text so that subsequent compression passes can detect (and skip) old summaries, preventing summary-of-summary degradation.