bstraehle commited on
Commit
bfd09a6
·
verified ·
1 Parent(s): 74eed01

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +3 -3
crew.py CHANGED
@@ -85,8 +85,8 @@ def run_crew(question, file_name):
85
 
86
  manager_agent = Agent(
87
  role="Manager",
88
- goal="Select one of your agents, Image Analysis Agent, Python Coding Agent, Video Analysis Agent, or Web Search Agent to answer question: {topic} ",
89
- backstory="As an expert manager assistant, you select one of your agents to answer the question. ",
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="Select one of your agents, Image Analysis Agent, Python Coding Agent, Video Analysis Agent, or Web Search Agent to answer question: {topic} ",
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