Update run_terminal_zh.py

This commit is contained in:
Sun Tao 2025-03-13 10:45:46 +08:00 committed by GitHub
parent 370b22f212
commit d61e4dbc88
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,
TerminalToolkit
)
@ -68,7 +68,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"],