bstraehle commited on
Commit
3126477
1 Parent(s): 5ea4e97

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +2 -2
agents.py CHANGED
@@ -5,7 +5,7 @@ from tools import scrape_tool, search_tool, today_tool
5
  def get_researcher_agent(model):
6
  return Agent(
7
  role="Researcher",
8
- goal="Research content on topic {topic}",
9
  backstory="You're working on researching content on topic {topic}. "
10
  "Your work is the basis for the Writer to write on this topic.",
11
  llm=ChatOpenAI(model=model, temperature=0.7),
@@ -17,7 +17,7 @@ def get_researcher_agent(model):
17
  def get_writer_agent(model):
18
  return Agent(
19
  role="Writer",
20
- goal="Write a 2000-word article on topic {topic}",
21
  backstory="You're working on writing an article on topic {topic}. "
22
  "You base your writing on the work of the Researcher, who provides context on this topic.",
23
  llm=ChatOpenAI(model=model, temperature=0.7),
 
5
  def get_researcher_agent(model):
6
  return Agent(
7
  role="Researcher",
8
+ goal="Research content on topic: {topic}.",
9
  backstory="You're working on researching content on topic {topic}. "
10
  "Your work is the basis for the Writer to write on this topic.",
11
  llm=ChatOpenAI(model=model, temperature=0.7),
 
17
  def get_writer_agent(model):
18
  return Agent(
19
  role="Writer",
20
+ goal="Write a 2000-word article on topic: {topic}.",
21
  backstory="You're working on writing an article on topic {topic}. "
22
  "You base your writing on the work of the Researcher, who provides context on this topic.",
23
  llm=ChatOpenAI(model=model, temperature=0.7),