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

Fixed `model_type` typos in `role_playing.py` examples (#169)

Guohao Lic3b3fc7499e1
diff --git a/examples/ai_society/role_playing.py b/examples/ai_society/role_playing.py
index 955b33783..d21995d66 100644
--- a/examples/ai_society/role_playing.py
+++ b/examples/ai_society/role_playing.py
@@ -17,14 +17,14 @@ from camel.agents import RolePlaying
from camel.utils import print_text_animated
-def main(model=None) -> None:
+def main(model_type=None) -> None:
task_prompt = "Develop a trading bot for the stock market"
role_play_session = RolePlaying(
"Python Programmer",
"Stock Trader",
task_prompt=task_prompt,
with_task_specify=True,
- mode_type=model,
+ model_type=model_type,
)
print(