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: update workforce cookbook for current API (#3893)

Br1an056f4c3bf496
diff --git a/docs/cookbooks/multi_agent_society/workforce_judge_committee.ipynb b/docs/cookbooks/multi_agent_society/workforce_judge_committee.ipynb
index bdf1d1129..71b88b235 100644
--- a/docs/cookbooks/multi_agent_society/workforce_judge_committee.ipynb
+++ b/docs/cookbooks/multi_agent_society/workforce_judge_committee.ipynb
@@ -30,7 +30,7 @@
},
"outputs": [],
"source": [
- "%pip install \"camel-ai[all]==0.2.16\""
+ "%pip install \"camel-ai[all]==0.2.91a4\""
]
},
{
@@ -508,9 +508,9 @@
" \" score accordingly. Finally, list the opinions from each judge while\"\n",
" \" preserving the judge's unique identity, along with the score and\"\n",
" \" judge name, and also give a final summary of the opinions.\",\n",
- " additional_info=proj_content,\n",
+ " additional_info={\"project_description\": proj_content},\n",
" id=\"0\",\n",
- ")"
+ ")\n"
]
},
{
diff --git a/docs/mintlify/cookbooks/multi_agent_society/workforce_judge_committee.mdx b/docs/mintlify/cookbooks/multi_agent_society/workforce_judge_committee.mdx
index fefda0bfa..414c3d39f 100644
--- a/docs/mintlify/cookbooks/multi_agent_society/workforce_judge_committee.mdx
+++ b/docs/mintlify/cookbooks/multi_agent_society/workforce_judge_committee.mdx
@@ -16,7 +16,7 @@ To get started, make sure you have `camel-ai` installed.
```python
-%pip install "camel-ai[all]==0.2.16"
+%pip install "camel-ai[all]==0.2.91a4"
```
Workforce employs an asynchronous design with coroutines. However, since **coroutines cannot directly run in notebooks**, we need to do specific handlings in this demo. Note that, under most normal cases (not inside notebook environment), we don't need to do this.
@@ -345,7 +345,7 @@ task = Task(
" score accordingly. Finally, list the opinions from each judge while"
" preserving the judge's unique identity, along with the score and"
" judge name, and also give a final summary of the opinions.",
- additional_info=proj_content,
+ additional_info={"project_description": proj_content},
id="0",
)
```