mirror of
https://github.com/camel-ai/owl.git
synced 2026-03-22 05:57:17 +08:00
Update run_ollama.py
This commit is contained in:
@@ -20,7 +20,7 @@ from camel.toolkits import (
|
||||
ExcelToolkit,
|
||||
ImageAnalysisToolkit,
|
||||
SearchToolkit,
|
||||
WebToolkit,
|
||||
BrowserToolkit,
|
||||
FileWriteToolkit,
|
||||
)
|
||||
from camel.types import ModelPlatformType
|
||||
@@ -80,7 +80,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