š« 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
chore: fix pre-commity issue in PR 3095 (#3148)
Wendong-Fan18537c48cc4a
diff --git a/camel/toolkits/origene_mcp_toolkit.py b/camel/toolkits/origene_mcp_toolkit.pyindex a8e95aa57..370a638e3 100644--- a/camel/toolkits/origene_mcp_toolkit.py+++ b/camel/toolkits/origene_mcp_toolkit.py@@ -43,8 +43,8 @@ class OrigeneToolkit(MCPToolkit):Args:config_dict (Optional[Dict]): Configuration dictionary for MCP- servers. If None, raises ValueError as configuration is required.- (default: :obj:`None`)+ servers. If None, raises ValueError as configuration is+ required. (default: :obj:`None`)timeout (Optional[float]): Connection timeout in seconds.(default: :obj:`None`)"""diff --git a/camel/toolkits/playwright_mcp_toolkit.py b/camel/toolkits/playwright_mcp_toolkit.pyindex 6f61ec7c6..8f5afe780 100644--- a/camel/toolkits/playwright_mcp_toolkit.py+++ b/camel/toolkits/playwright_mcp_toolkit.py@@ -14,8 +14,6 @@from typing import List, Optional-from camel.toolkits import FunctionTool-from .mcp_toolkit import MCPToolkit@@ -61,8 +59,6 @@ class PlaywrightMCPToolkit(MCPToolkit):}}}-+# Initialize parent MCPToolkit with Playwright configurationsuper().__init__(config_dict=config_dict, timeout=timeout)--diff --git a/examples/toolkits/edgeone_pages_mcp_toolkit.py b/examples/toolkits/edgeone_pages_mcp_toolkit.pyindex f75d610a5..0e271730f 100644--- a/examples/toolkits/edgeone_pages_mcp_toolkit.py+++ b/examples/toolkits/edgeone_pages_mcp_toolkit.py@@ -52,7 +52,8 @@ if __name__ == "__main__":"""==============================================================================-I've created a Hello World page for you! The page has been deployed and is now live at:+I've created a Hello World page for you! The page has been deployed and is now+live at:**https://mcp.edgeone.site/share/M-MXzJzHJ3mGc013OQNIM**diff --git a/examples/toolkits/notion_mcp_tookit.py b/examples/toolkits/notion_mcp_tookit.pyindex f35bc2c48..281f2113c 100644--- a/examples/toolkits/notion_mcp_tookit.py+++ b/examples/toolkits/notion_mcp_tookit.py@@ -58,11 +58,13 @@ if __name__ == "__main__":[681981] [LocalāRemote] notifications/initialized[681981] [LocalāRemote] tools/list[681981] [RemoteāLocal] 1-/home/lyz/Camel/camel/camel/memories/blocks/chat_history_block.py:73: UserWarning: The `ChatHistoryMemory` is empty.+/home/lyz/Camel/camel/camel/memories/blocks/chat_history_block.py:73:+UserWarning: The `ChatHistoryMemory` is empty.warnings.warn("The `ChatHistoryMemory` is empty.")[681981] [LocalāRemote] tools/call[681981] [RemoteāLocal] 2-I have created the page "Camel Introduction" for you. You can view it here: https://www.notion.so/2626be7b2793819aaf2cfe686a554bdd+I have created the page "Camel Introduction" for you. You can view it here:+https://www.notion.so/2626be7b2793819aaf2cfe686a554bdd[681981]Shutting down...============================================================================diff --git a/examples/toolkits/playwright_mcp_toolkit.py b/examples/toolkits/playwright_mcp_toolkit.pyindex 6a558ea9f..9c1cfae1b 100644--- a/examples/toolkits/playwright_mcp_toolkit.py+++ b/examples/toolkits/playwright_mcp_toolkit.py@@ -20,6 +20,7 @@ from camel.models import ModelFactoryfrom camel.toolkits import PlaywrightMCPToolkitfrom camel.types import ModelPlatformType, ModelType+async def main():# Create PlaywrightMCPToolkit (now inherits directly from MCPToolkit)playwright_mcp_toolkit = PlaywrightMCPToolkit()@@ -41,9 +42,9 @@ async def main():model=model,tools=playwright_mcp_toolkit.get_tools(), # Inherited method)-+response = await chat_agent.astep(- "Navigate to https://github.com/camel-ai/camel and get the star count.",+ "Navigate to https://github.com/camel-ai/camel and get the star count",response_format=AgentResponse,)@@ -65,4 +66,4 @@ if __name__ == "__main__":"stars": 14040}==============================================================================-"""\ No newline at end of file+"""