Update crew.py
Browse files
crew.py
CHANGED
|
@@ -85,8 +85,8 @@ def run_crew(question, file_name):
|
|
| 85 |
|
| 86 |
manager_agent = Agent(
|
| 87 |
role="Manager",
|
| 88 |
-
goal="
|
| 89 |
-
backstory="As an expert manager assistant, you
|
| 90 |
allow_delegation=True,
|
| 91 |
)
|
| 92 |
|
|
@@ -118,7 +118,7 @@ def run_crew(question, file_name):
|
|
| 118 |
|
| 119 |
manager_task = Task(
|
| 120 |
agent=manager_agent,
|
| 121 |
-
description="
|
| 122 |
expected_output="The answer to the question. "
|
| 123 |
)
|
| 124 |
|
|
|
|
| 85 |
|
| 86 |
manager_agent = Agent(
|
| 87 |
role="Manager",
|
| 88 |
+
goal="Try to answer the following question. If needed, delegate to **one** of your coworkers, Image Analysis Agent, Python Coding Agent, Video Analysis Agent, or Web Search Agent for help. Question: {topic} ",
|
| 89 |
+
backstory="As an expert manager assistant, you answer the question. ",
|
| 90 |
allow_delegation=True,
|
| 91 |
)
|
| 92 |
|
|
|
|
| 118 |
|
| 119 |
manager_task = Task(
|
| 120 |
agent=manager_agent,
|
| 121 |
+
description="Try to answer the following question. If needed, delegate to **one** of your coworkers, Image Analysis Agent, Python Coding Agent, Video Analysis Agent, or Web Search Agent for help. Question: {topic} ",
|
| 122 |
expected_output="The answer to the question. "
|
| 123 |
)
|
| 124 |
|