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: summarize all auto mode error (#10120)

cthomas1a4b119f6d2a
diff --git a/letta/services/summarizer/compact.py b/letta/services/summarizer/compact.py
index 606d16f63..ab0306c75 100644
--- a/letta/services/summarizer/compact.py
+++ b/letta/services/summarizer/compact.py
@@ -390,7 +390,7 @@ async def compact_messages(
if summarization_mode_used == "sliding_window":
summary, compacted_messages = await summarize_all(
actor=actor,
- llm_config=agent_llm_config,
+ llm_config=summarizer_llm_config,
summarizer_config=summarizer_config,
in_context_messages=compacted_messages,
agent_id=agent_id,