Spaces:
Running
Running
Update crew.py
Browse files
crew.py
CHANGED
@@ -6,8 +6,10 @@ from tasks import get_research_task, get_write_task
|
|
6 |
|
7 |
def get_crew(model, temperature, verbose):
|
8 |
return Crew(
|
9 |
-
agents=[get_researcher_agent(model, temperature, verbose),
|
10 |
-
|
|
|
|
|
11 |
manager_llm=ChatOpenAI(model=model, temperature=temperature),
|
12 |
process=Process.sequential,
|
13 |
verbose=verbose
|
|
|
6 |
|
7 |
def get_crew(model, temperature, verbose):
|
8 |
return Crew(
|
9 |
+
agents=[get_researcher_agent(model, temperature, verbose),
|
10 |
+
get_writer_agent(model, temperature, verbose)],
|
11 |
+
tasks=[get_research_task(model, temperature, verbose),
|
12 |
+
get_write_task(model, temperature, verbose)],
|
13 |
manager_llm=ChatOpenAI(model=model, temperature=temperature),
|
14 |
process=Process.sequential,
|
15 |
verbose=verbose
|