Update run.py

This commit is contained in:
Sun Tao 2025-03-13 10:43:06 +08:00 committed by GitHub
parent 421c720533
commit f7a714dfe2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ from camel.toolkits import (
ImageAnalysisToolkit,
SearchToolkit,
VideoAnalysisToolkit,
WebToolkit,
BrowserToolkit,
FileWriteToolkit,
)
from camel.types import ModelPlatformType, ModelType
@ -84,7 +84,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"],