Spaces:
Paused
Paused
Update crew.py
Browse files
crew.py
CHANGED
|
@@ -71,6 +71,17 @@ class GAIACrew():
|
|
| 71 |
tools=[AITools.web_search_tool],
|
| 72 |
verbose=True
|
| 73 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
@agent
|
| 76 |
def image_analysis_agent(self) -> Agent:
|
|
@@ -179,7 +190,7 @@ class GAIACrew():
|
|
| 179 |
@crew
|
| 180 |
def crew(self) -> Crew:
|
| 181 |
return Crew(
|
| 182 |
-
agents=
|
| 183 |
tasks=self.tasks,
|
| 184 |
verbose=True
|
| 185 |
)
|
|
|
|
| 71 |
tools=[AITools.web_search_tool],
|
| 72 |
verbose=True
|
| 73 |
)
|
| 74 |
+
|
| 75 |
+
@agent
|
| 76 |
+
def web_browser_agent(self) -> Agent:
|
| 77 |
+
return Agent(
|
| 78 |
+
config=self.agents_config["web_browser_agent"],
|
| 79 |
+
allow_delegation=False,
|
| 80 |
+
llm=AGENT_MODEL,
|
| 81 |
+
max_iter=2,
|
| 82 |
+
tools=[stagehand_tool],
|
| 83 |
+
verbose=True
|
| 84 |
+
)
|
| 85 |
|
| 86 |
@agent
|
| 87 |
def image_analysis_agent(self) -> Agent:
|
|
|
|
| 190 |
@crew
|
| 191 |
def crew(self) -> Crew:
|
| 192 |
return Crew(
|
| 193 |
+
agents=self.agents,
|
| 194 |
tasks=self.tasks,
|
| 195 |
verbose=True
|
| 196 |
)
|