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-botc600c75769af
diff --git a/docs/mintlify/reference/camel.agents.chat_agent.mdx b/docs/mintlify/reference/camel.agents.chat_agent.mdx
index 55a18f303..85fbaaa7d 100644
--- a/docs/mintlify/reference/camel.agents.chat_agent.mdx
+++ b/docs/mintlify/reference/camel.agents.chat_agent.mdx
@@ -617,6 +617,10 @@ def summarize(
Summarize the agent's current conversation context and persist it
to a markdown file.
+.. deprecated:: 0.2.80
+Use :meth:`asummarize` for async/await support and better
+performance in parallel summarization workflows.
+
**Parameters:**
- **filename** (Optional[str]): The base filename (without extension) to use for the markdown file. Defaults to a timestamped name when not provided.
@@ -630,6 +634,9 @@ to a markdown file.
path, status message, and optionally structured_summary if
response_format was provided.
+See Also:
+:meth:`asummarize`: Async version for non-blocking LLM calls.
+
<a id="camel.agents.chat_agent.ChatAgent.clear_memory"></a>
### clear_memory
diff --git a/docs/mintlify/reference/camel.societies.workforce.single_agent_worker.mdx b/docs/mintlify/reference/camel.societies.workforce.single_agent_worker.mdx
index b630815f7..b0bbcc372 100644
--- a/docs/mintlify/reference/camel.societies.workforce.single_agent_worker.mdx
+++ b/docs/mintlify/reference/camel.societies.workforce.single_agent_worker.mdx
@@ -165,6 +165,10 @@ def save_workflow_memories(self):
- file_path (str): Path to saved file
- worker_description (str): Worker description used
+See Also:
+:meth:`save_workflow_memories_async`: Async version for better
+performance in parallel workflows.
+
<a id="camel.societies.workforce.single_agent_worker.SingleAgentWorker.load_workflow_memories"></a>
### load_workflow_memories
diff --git a/docs/mintlify/reference/camel.societies.workforce.workforce.mdx b/docs/mintlify/reference/camel.societies.workforce.workforce.mdx
index ddf2d8015..08f71fdf4 100644
--- a/docs/mintlify/reference/camel.societies.workforce.workforce.mdx
+++ b/docs/mintlify/reference/camel.societies.workforce.workforce.mdx
@@ -708,6 +708,13 @@ def save_workflow_memories(self, session_id: Optional[str] = None):
Save workflow memories for all SingleAgentWorker instances in the
workforce.
+.. deprecated:: 0.2.80
+This synchronous method processes workers sequentially, which can
+be slow for multiple agents. Use
+:meth:`save_workflow_memories_async`
+instead for parallel processing and significantly better
+performance.
+
This method iterates through all child workers and triggers workflow
saving for SingleAgentWorker instances using their
save_workflow_memories()
@@ -724,6 +731,17 @@ Other worker types are skipped.
Values are either file paths (success) or error messages
(failure).
+**Note:**
+
+For better performance with multiple workers, use the async
+version::
+
+results = await workforce.save_workflow_memories_async()
+
+See Also:
+:meth:`save_workflow_memories_async`: Async version with parallel
+processing for significantly better performance.
+
<a id="camel.societies.workforce.workforce.Workforce.load_workflow_memories"></a>
### load_workflow_memories