chore: fix pre commit format and pipeline issue (#1144)

This commit is contained in:
Wendong-Fan 2026-02-04 00:06:29 +00:00 committed by GitHub
parent 2256497dff
commit 893f51fc82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
970 changed files with 11235 additions and 9533 deletions

View file

@ -14,7 +14,6 @@
from camel.agents import ChatAgent
from camel.models import ModelFactory
from camel.types import ModelPlatformType, ModelType
def get_website_content(url: str) -> str:
@ -26,11 +25,16 @@ def get_website_content(url: str) -> str:
Returns:
str: The content of the website.
"""
return f"Tool execution completed successfully for https://www.camel-ai.org, Website Content: Welcome to CAMEL AI!"
return "Tool execution completed successfully for https://www.camel-ai.org, Website Content: Welcome to CAMEL AI!"
def create_agent(
model_platform: str, model_type: str, api_key: str = None, url: str = None, model_config_dict: dict = None, **kwargs
model_platform: str,
model_type: str,
api_key: str = None,
url: str = None,
model_config_dict: dict = None,
**kwargs,
) -> ChatAgent:
platform = model_platform
mtype = model_type