Skip to content

The agent that grows with you

test(compression): register the heartbeat in ROUTINE_COMPRESSION_STATUS_SAMPLES

kshitijk4poorfafd37009441
diff --git a/agent/conversation_compression.py b/agent/conversation_compression.py
index 2450f9d3c2f..e6ef77e996e 100644
--- a/agent/conversation_compression.py
+++ b/agent/conversation_compression.py
@@ -207,6 +207,7 @@ CONTEXT_OVERFLOW_BLOCKED_WARNING_TEMPLATE = (
# same constants the emission sites use) through the gateway noise filter.
ROUTINE_COMPRESSION_STATUS_SAMPLES = (
COMPACTION_STATUS,
+ COMPACTION_HEARTBEAT_STATUS,
COMPACTION_DONE_STATUS,
PRE_API_COMPRESSION_STATUS_TEMPLATE.format(tokens=123456),
PREFLIGHT_COMPRESSION_STATUS_TEMPLATE.format(tokens=120000, threshold=100000),