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