Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: summarizer step count increment (#1399)
cthomascbd3ea23d7b6
diff --git a/letta/agent.py b/letta/agent.pyindex f0647892a..9fa442eb3 100644--- a/letta/agent.py+++ b/letta/agent.py@@ -934,8 +934,6 @@ class Agent(BaseAgent):)raise e- summarize_attempt_count += 1-if summarize_attempt_count <= summarizer_settings.max_summarizer_retries:logger.warning(f"context window exceeded with limit {self.agent_state.llm_config.context_window}, attempting to summarize ({summarize_attempt_count}/{summarizer_settings.max_summarizer_retries}"