Spaces:
Running
Running
Update agents.py
Browse files
agents.py
CHANGED
@@ -6,7 +6,7 @@ def get_researcher_agent(model, temperature, verbose):
|
|
6 |
return Agent(
|
7 |
role="Researcher",
|
8 |
goal="Research content on topic: {topic}.",
|
9 |
-
backstory="You're working on researching content on topic
|
10 |
"Your work is the basis for the Writer to write on this topic.",
|
11 |
llm=ChatOpenAI(model=model, temperature=temperature),
|
12 |
tools = [search_tool(), scrape_tool()],
|
@@ -18,7 +18,7 @@ def get_writer_agent(model, temperature, verbose):
|
|
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
|
22 |
"You base your writing on the work of the Researcher, who provides context on this topic.",
|
23 |
llm=ChatOpenAI(model=model, temperature=temperature),
|
24 |
tools = [today_tool()],
|
|
|
6 |
return Agent(
|
7 |
role="Researcher",
|
8 |
goal="Research content on topic: {topic}.",
|
9 |
+
backstory="You're working on researching content on topic: {topic}. "
|
10 |
"Your work is the basis for the Writer to write on this topic.",
|
11 |
llm=ChatOpenAI(model=model, temperature=temperature),
|
12 |
tools = [search_tool(), scrape_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, temperature=temperature),
|
24 |
tools = [today_tool()],
|