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: uuid setting

Wendonga667148ae014
diff --git a/camel/agents/chat_agent.py b/camel/agents/chat_agent.py
index 22faa9d3e..c2ff40168 100644
--- a/camel/agents/chat_agent.py
+++ b/camel/agents/chat_agent.py
@@ -204,7 +204,7 @@ class ChatAgent(BaseAgent):
self.model_type = self.model_backend.model_type
# Assign unique ID
- self.agent_id = agent_id if agent_id else str(uuid.uuid4())[:6]
+ self.agent_id = agent_id if agent_id else str(uuid.uuid4())
# Set up memory
context_creator = ScoreBasedContextCreator(