🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
ehance:change the scrape engine in eigent (#2685)
Yifeng Wang(正经人王同学)b7b0e3fe0d84
diff --git a/examples/workforce/eigent.py b/examples/workforce/eigent.pyindex 4c204f7da..c9ac2b6b2 100644--- a/examples/workforce/eigent.py+++ b/examples/workforce/eigent.py@@ -15,6 +15,7 @@import asynciofrom camel.agents.chat_agent import ChatAgent+from camel.loaders import Crawl4AIfrom camel.messages.base import BaseMessagefrom camel.models import BaseModelBackend, ModelFactoryfrom camel.societies.workforce import Workforce@@ -47,6 +48,7 @@ def developer_agent_factory(model: BaseModelBackend, task_id: str):tools = [*TerminalToolkit().get_tools(),HumanToolkit().ask_human_via_console,+ *TerminalToolkit(clone_current_env=True).get_tools(),*CodeExecutionToolkit().get_tools(),]@@ -95,7 +97,7 @@ def search_agent_factory(# *browser_toolkits.get_tools(),*terminal_toolkits.get_tools(),human_toolkits.ask_human_via_console,- # Firecrawl().scrape,+ FunctionTool(Crawl4AI().scrape),]system_message = """You are a helpful assistant that can search the web,