Update crew.py
Browse files
crew.py
CHANGED
|
@@ -85,7 +85,8 @@ def run_crew(question, file_name):
|
|
| 85 |
|
| 86 |
manager_agent = Agent(
|
| 87 |
role="manager_agent",
|
| 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 |
llm=MANAGER_MODEL,
|
|
@@ -123,8 +124,7 @@ def run_crew(question, file_name):
|
|
| 123 |
|
| 124 |
manager_task = Task(
|
| 125 |
agent=manager_agent,
|
| 126 |
-
|
| 127 |
-
description="Try to answer the question. If needed, delegate to **one** of your coworkers, image_analysis_agent, python_coding_agent, video_analysis_agent, or web_search_agent for help. ",
|
| 128 |
expected_output="The answer to the question. "
|
| 129 |
)
|
| 130 |
|
|
|
|
| 85 |
|
| 86 |
manager_agent = Agent(
|
| 87 |
role="manager_agent",
|
| 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 |
+
goal="Try to answer the question. If needed, delegate to **one** of your coworkers, image_analysis_agent, python_coding_agent, video_analysis_agent, or web_search_agent for help. ",
|
| 90 |
backstory="As an expert manager assistant, you answer the question. ",
|
| 91 |
allow_delegation=True,
|
| 92 |
llm=MANAGER_MODEL,
|
|
|
|
| 124 |
|
| 125 |
manager_task = Task(
|
| 126 |
agent=manager_agent,
|
| 127 |
+
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}\" ",
|
|
|
|
| 128 |
expected_output="The answer to the question. "
|
| 129 |
)
|
| 130 |
|