bstraehle commited on
Commit
cc6711c
1 Parent(s): 8606c0a

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +2 -2
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):
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=0.7),
12
  process=Process.sequential,
13
  verbose=False
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):
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=False
14
  )