Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix(core): remove threshold multiplier on summ trigger which is bug prone (#6447)

Charles Packerefb5a87313bd
diff --git a/letta/constants.py b/letta/constants.py
index 06274b9af..a22ad9522 100644
--- a/letta/constants.py
+++ b/letta/constants.py
@@ -58,8 +58,7 @@ DEFAULT_CONTEXT_WINDOW = 32000
# Summarization trigger threshold (multiplier of context_window limit)
# Summarization triggers when step usage > context_window * SUMMARIZATION_TRIGGER_MULTIPLIER
-# Set to 0.9 (90%) to provide buffer before hitting hard limit
-SUMMARIZATION_TRIGGER_MULTIPLIER = 0.9
+SUMMARIZATION_TRIGGER_MULTIPLIER = 1.0
# number of concurrent embedding requests to sent
EMBEDDING_BATCH_SIZE = 200