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

Auto-update documentation after merge [skip ci]

camel-docs-bote0204d61e516
diff --git a/docs/mintlify/reference/camel.agents.chat_agent.mdx b/docs/mintlify/reference/camel.agents.chat_agent.mdx
index 5b4125f92..067669802 100644
--- a/docs/mintlify/reference/camel.agents.chat_agent.mdx
+++ b/docs/mintlify/reference/camel.agents.chat_agent.mdx
@@ -367,6 +367,33 @@ Set the output language for the agent.
Note that this will clear the message history.
+<a id="camel.agents.chat_agent.ChatAgent.memory"></a>
+
+### memory
+
+```python
+def memory(self):
+```
+
+Returns the agent memory.
+
+<a id="camel.agents.chat_agent.ChatAgent.memory"></a>
+
+### memory
+
+```python
+def memory(self, value: AgentMemory):
+```
+
+Set the agent memory.
+
+When setting a new memory, the system message is automatically
+re-added to ensure it's not lost.
+
+**Parameters:**
+
+- **value** (AgentMemory): The new agent memory to use.
+
<a id="camel.agents.chat_agent.ChatAgent._get_full_tool_schemas"></a>
### _get_full_tool_schemas