bstraehle commited on
Commit
6303a96
·
verified ·
1 Parent(s): 372f615

Update multi_agent.py

Browse files
Files changed (1) hide show
  1. multi_agent.py +2 -2
multi_agent.py CHANGED
@@ -97,7 +97,7 @@ def create_graph(model, max_tokens, temperature, topic):
97
 
98
  content_planner_agent = create_agent(llm, [tavily_tool, today_tool], system_prompt=
99
  "You are a Content Planner working on planning a blog article "
100
- "about the topic: {topic}."
101
  "You collect information that helps the "
102
  "audience learn something "
103
  "and make informed decisions. "
@@ -107,7 +107,7 @@ def create_graph(model, max_tokens, temperature, topic):
107
 
108
  article_author_agent = create_agent(llm, [tavily_tool], system_prompt=
109
  "You are an Article Writer working on writing "
110
- "a new opinion piece about the topic: {topic}. "
111
  "You base your writing on the work of "
112
  "the Content Planner, who provides an outline "
113
  "and relevant context about the topic. "
 
97
 
98
  content_planner_agent = create_agent(llm, [tavily_tool, today_tool], system_prompt=
99
  "You are a Content Planner working on planning a blog article "
100
+ "about the topic: " + topic + "."
101
  "You collect information that helps the "
102
  "audience learn something "
103
  "and make informed decisions. "
 
107
 
108
  article_author_agent = create_agent(llm, [tavily_tool], system_prompt=
109
  "You are an Article Writer working on writing "
110
+ "a new opinion piece about the topic: " + topic + ". "
111
  "You base your writing on the work of "
112
  "the Content Planner, who provides an outline "
113
  "and relevant context about the topic. "