Spaces:
Sleeping
Sleeping
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -17,8 +17,8 @@ def get_researcher_agent(model):
|
|
| 17 |
def get_writer_agent(model):
|
| 18 |
return Agent(
|
| 19 |
role="Writer",
|
| 20 |
-
goal="Write
|
| 21 |
-
backstory="You're working on writing
|
| 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 |
tools = [today_tool()],
|
|
|
|
| 17 |
def get_writer_agent(model):
|
| 18 |
return Agent(
|
| 19 |
role="Writer",
|
| 20 |
+
goal="Write an article on topic: {topic}.",
|
| 21 |
+
backstory="You're working on writing a 2000-word 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),
|
| 24 |
tools = [today_tool()],
|