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: preserve missing parameters in ChatAgent.clone() (#3967)

lifbce5f784817e
diff --git a/camel/agents/chat_agent.py b/camel/agents/chat_agent.py
index 0e092b64c..7689fd46c 100644
--- a/camel/agents/chat_agent.py
+++ b/camel/agents/chat_agent.py
@@ -6149,6 +6149,13 @@ class ChatAgent(BaseAgent):
prune_tool_calls_from_memory=self.prune_tool_calls_from_memory,
on_request_usage=self.on_request_usage,
stream_accumulate=self.stream_accumulate,
+ summarize_threshold=self.summarize_threshold,
+ mask_tool_output=self.mask_tool_output,
+ enable_snapshot_clean=self._enable_snapshot_clean,
+ retry_attempts=self.retry_attempts,
+ retry_delay=self.retry_delay,
+ step_timeout=self.step_timeout,
+ summary_window_ratio=self.summary_window_ratio,
)
# Copy memory if requested