Update run_mini.py

This commit is contained in:
Sun Tao 2025-03-13 10:44:03 +08:00 committed by GitHub
parent 2a009f26de
commit a51539063a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ from dotenv import load_dotenv
from camel.models import ModelFactory
from camel.toolkits import (
SearchToolkit,
WebToolkit,
BrowserToolkit,
FileWriteToolkit,
)
from camel.types import ModelPlatformType, ModelType
@ -65,7 +65,7 @@ def construct_society(question: str) -> OwlRolePlaying:
# Configure toolkits
tools = [
*WebToolkit(
*BrowserToolkit(
headless=False, # Set to True for headless mode (e.g., on remote servers)
web_agent_model=models["web"],
planning_agent_model=models["planning"],