bstraehle commited on
Commit
15873c5
1 Parent(s): 4813aa3

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +6 -6
crew.py CHANGED
@@ -4,13 +4,13 @@ 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, max_tokens, temperature, verbose):
8
  return Crew(
9
- agents=[get_researcher_agent(model, max_tokens, temperature, verbose),
10
- get_writer_agent(model, max_tokens, temperature, verbose)],
11
- tasks=[get_research_task(model, max_tokens, temperature, verbose),
12
- get_write_task(model, max_tokens, temperature, verbose)],
13
- manager_llm=ChatOpenAI(model=model, max_tokens=max_tokens, temperature=temperature),
14
  process=Process.sequential,
15
  verbose=verbose
16
  )
 
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, 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
16
  )