Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Fix: avoid recursive (#3439)

Puzhen Zhangae424bed8fe9
diff --git a/camel/agents/chat_agent.py b/camel/agents/chat_agent.py
index 928ec92e5..d5d69621e 100644
--- a/camel/agents/chat_agent.py
+++ b/camel/agents/chat_agent.py
@@ -1750,6 +1750,7 @@ class ChatAgent(BaseAgent):
),
model=self.model_backend,
agent_id=f"{self.agent_id}_context_summarizer",
+ summarize_threshold=None,
)
else:
self._context_summary_agent.reset()
@@ -2027,6 +2028,7 @@ class ChatAgent(BaseAgent):
),
model=self.model_backend,
agent_id=f"{self.agent_id}_context_summarizer",
+ summarize_threshold=None,
)
else:
self._context_summary_agent.reset()