Spaces:
Running
Running
Update agents.py
Browse files
agents.py
CHANGED
@@ -18,7 +18,7 @@ def get_writer_agent(model, max_tokens, temperature, verbose):
|
|
18 |
return Agent(
|
19 |
role="Writer",
|
20 |
goal="Write an article on topic: {topic}.",
|
21 |
-
backstory="You're working on writing an
|
22 |
"You base your writing on the work of the Researcher, who provides context on this topic.",
|
23 |
llm=ChatOpenAI(model=model, max_tokens=max_tokens, temperature=temperature),
|
24 |
tools = [today_tool()],
|
|
|
18 |
return Agent(
|
19 |
role="Writer",
|
20 |
goal="Write an 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, max_tokens=max_tokens, temperature=temperature),
|
24 |
tools = [today_tool()],
|