Skip to content

The agent that grows with you

refactor(compression): forward snapshot_is_current directly in facade

kshitijk4poorfbdf6127243c
diff --git a/agent/compression_facade.py b/agent/compression_facade.py
index 8b981b27da3..8a5e44bfb0e 100644
--- a/agent/compression_facade.py
+++ b/agent/compression_facade.py
@@ -282,8 +282,7 @@ class CompressionFacadeMixin:
approx_tokens=approx_tokens, task_id=task_id, focus_topic=focus_topic, force=force,
bypass_cooldown=bypass_cooldown or same_turn_fallback_recovery,
defer_context_engine_notification=(defer_context_engine_notification), commit_fence=fence,
- verbatim_tail=verbatim_tail, trigger=trigger,
- **({"snapshot_is_current": snapshot_is_current} if snapshot_is_current is not None else {}),
+ verbatim_tail=verbatim_tail, trigger=trigger, snapshot_is_current=snapshot_is_current,
)
# Callers that already own a progress-aware wait (gateway session