mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-01 21:20:15 +00:00
chore: fix pre commit format and pipeline issue (#1144)
This commit is contained in:
parent
2256497dff
commit
893f51fc82
970 changed files with 11235 additions and 9533 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue