mirror of
https://github.com/camel-ai/owl.git
synced 2026-03-22 05:57:17 +08:00
Update run_mini.py
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user