bstraehle commited on
Commit
ddf4b3b
1 Parent(s): c06462e

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +2 -2
agents.py CHANGED
@@ -17,8 +17,8 @@ def get_researcher_agent(model):
17
  def get_blogger_agent(model):
18
  return Agent(
19
  role="Blogger",
20
- goal="Write a {length}-word blog post on topic {topic}",
21
- backstory="You're working on writing a {length}-word blog post 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),
24
  allow_delegation=False,
 
17
  def get_blogger_agent(model):
18
  return Agent(
19
  role="Blogger",
20
+ goal="Write a {word_count}-word blog post on topic {topic}",
21
+ backstory="You're working on writing a {word_count}-word blog post 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),
24
  allow_delegation=False,