🐫 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
update eigent example
Wendong-Fan63c84f566d18
diff --git a/camel/toolkits/note_taking_toolkit.py b/camel/toolkits/note_taking_toolkit.pyindex 73c4373d5..60e588e32 100644--- a/camel/toolkits/note_taking_toolkit.py+++ b/camel/toolkits/note_taking_toolkit.py@@ -138,7 +138,7 @@ class NoteTakingToolkit(BaseToolkit):self.registry.append(note_name)self._save_registry()- def create_note(self, note_name: str, content: str = "") -> str:+ def create_note(self, note_name: str, content: str) -> str:r"""Creates a new note with a unique name.This function will create a new file for your note.@@ -149,12 +149,11 @@ class NoteTakingToolkit(BaseToolkit):Args:note_name (str): The name for your new note (without the .mdextension). This name must be unique.- content (str, optional): The initial content to write in the note.- If not provided, an empty note will be created. Defaults to "".+ content (str): The initial content to write in the note.Returns:str: A message confirming the creation of the note or an error if- the note name is not valid or already exists.+ the note name is not valid or already exists."""try:note_path = self.working_directory / f"{note_name}.md"diff --git a/examples/workforce/eigent.py b/examples/workforce/eigent.pyindex b13d73347..f378d154f 100644--- a/examples/workforce/eigent.py+++ b/examples/workforce/eigent.py@@ -322,12 +322,13 @@ def search_agent_factory("browser_get_som_screenshot",]web_toolkit_custom = HybridBrowserToolkit(+ mode="python",headless=False,enabled_tools=custom_tools,browser_log_to_file=True,stealth=True,session_id=agent_id,- viewport_limit=True,+ viewport_limit=False,cache_dir=WORKING_DIRECTORY,default_start_url="https://search.brave.com/",)@@ -951,8 +952,8 @@ access and can resolve a wide range of issues.),model=model_backend_reason,tools=[- *message_integration.register_toolkits(- NoteTakingToolkit(working_directory=WORKING_DIRECTORY)+ *NoteTakingToolkit(+ working_directory=WORKING_DIRECTORY).get_tools(),],)@@ -968,8 +969,8 @@ MUST use this as the current date.""",model=model_backend_reason,tools=[- *message_integration.register_toolkits(- NoteTakingToolkit(working_directory=WORKING_DIRECTORY)+ *NoteTakingToolkit(+ working_directory=WORKING_DIRECTORY).get_tools(),],)@@ -1083,7 +1084,7 @@ MUST use this as the current date.human_task = Task(content=("""-search 10 different papers related to llm agent and write a html report about+search 50 different papers related to llm agent and write a html report aboutthem."""),