Update multi_agent.py
Browse files- multi_agent.py +2 -2
multi_agent.py
CHANGED
|
@@ -97,9 +97,9 @@ def create_graph(model, topic):
|
|
| 97 |
|
| 98 |
researcher_agent = create_agent(llm, [tavily_tool, today_tool], system_prompt=
|
| 99 |
"1. Research content on topic: " + topic + ", prioritizing research papers. "
|
| 100 |
-
"2. Based on your research, write a 2000-word article on the topic. "
|
| 101 |
"3. At the beginning of the article, add current date and author: Multi-Agent AI System. "
|
| 102 |
-
"4. At the end of the article, add a references section with research papers.")
|
| 103 |
researcher_node = functools.partial(agent_node, agent=researcher_agent, name="Researcher")
|
| 104 |
|
| 105 |
workflow = StateGraph(AgentState)
|
|
|
|
| 97 |
|
| 98 |
researcher_agent = create_agent(llm, [tavily_tool, today_tool], system_prompt=
|
| 99 |
"1. Research content on topic: " + topic + ", prioritizing research papers. "
|
| 100 |
+
"2. Based on your research, write a 2000-word article on the topic in markdown format. "
|
| 101 |
"3. At the beginning of the article, add current date and author: Multi-Agent AI System. "
|
| 102 |
+
"4. At the end of the article, add a references section with links to research papers.")
|
| 103 |
researcher_node = functools.partial(agent_node, agent=researcher_agent, name="Researcher")
|
| 104 |
|
| 105 |
workflow = StateGraph(AgentState)
|