bstraehle commited on
Commit
619fc35
1 Parent(s): 7cfc686

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +5 -5
crew.py CHANGED
@@ -1,12 +1,12 @@
1
  from crewai import Crew, Process
2
  from langchain_openai import ChatOpenAI
3
 
4
- from agents import get_planner, get_writer, get_editor
5
- from tasks import get_plan, get_write, get_edit
6
 
7
- def get_financial_trading_crew():
8
  return Crew(
9
- agents=[get_planner(), get_writer(), get_editor()],
10
- tasks=[get_plan(), get_write(), get_edit()],
11
  verbose=2
12
  )
 
1
  from crewai import Crew, Process
2
  from langchain_openai import ChatOpenAI
3
 
4
+ from agents import get_plan_agent, get_write_agent, get_edit_agent
5
+ from tasks import get_plan_task, get_write_task, get_edit_task
6
 
7
+ def get_crew():
8
  return Crew(
9
+ agents=[get_plan_agent(), get_write_agent(), get_edit_agent()],
10
+ tasks=[get_plan_task(), get_write_task(), get_edit_task()],
11
  verbose=2
12
  )