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

ChatAgent memory use 1 microsecond for more reliable floating point precision

Wendongee02f2217500
diff --git a/camel/agents/chat_agent.py b/camel/agents/chat_agent.py
index 7f4f39356..c95299d2f 100644
--- a/camel/agents/chat_agent.py
+++ b/camel/agents/chat_agent.py
@@ -1646,7 +1646,7 @@ class ChatAgent(BaseAgent):
self.update_memory(
func_msg,
OpenAIBackendRole.FUNCTION,
- timestamp=base_timestamp + 1e-9,
+ timestamp=base_timestamp + 1e-6,
)
# Record information about this tool call