diff --git a/agent/context_compressor.py b/agent/context_compressor.py index f959b92a69..f8036851fc 100644 --- a/agent/context_compressor.py +++ b/agent/context_compressor.py @@ -848,7 +848,7 @@ The user has requested that this compaction PRIORITISE preserving all informatio ) self.summary_model = "" # empty = use main model self._summary_failure_cooldown_until = 0.0 # no cooldown - return self._generate_summary(turns_to_summarize) # retry immediately + return self._generate_summary(turns_to_summarize, focus_topic=focus_topic) # retry immediately # Transient errors (timeout, rate limit, network) — shorter cooldown _transient_cooldown = 60