Spaces:
Running
Running
Update agents.py
Browse files
agents.py
CHANGED
@@ -7,7 +7,7 @@ def get_researcher_agent():
|
|
7 |
role="Researcher",
|
8 |
goal="Research content on {topic}",
|
9 |
backstory="You're working on researching content on topic: {topic}. "
|
10 |
-
"Your work is the basis for the Author to write a LinkedIn post on this topic.",
|
11 |
tools = [get_search_tool(), get_scrape_tool()],
|
12 |
allow_delegation=False,
|
13 |
verbose=True
|
@@ -16,9 +16,9 @@ def get_researcher_agent():
|
|
16 |
def get_author_agent():
|
17 |
return Agent(
|
18 |
role="Author",
|
19 |
-
goal="Write LinkedIn post on topic: {topic}",
|
20 |
-
backstory="You're working on a writing a
|
21 |
-
"You base your writing on the work of the Researcher, who provides context
|
22 |
allow_delegation=False,
|
23 |
verbose=True
|
24 |
)
|
|
|
7 |
role="Researcher",
|
8 |
goal="Research content on {topic}",
|
9 |
backstory="You're working on researching content on topic: {topic}. "
|
10 |
+
"Your work is the basis for the Author to write a LinkedIn social media post on this topic.",
|
11 |
tools = [get_search_tool(), get_scrape_tool()],
|
12 |
allow_delegation=False,
|
13 |
verbose=True
|
|
|
16 |
def get_author_agent():
|
17 |
return Agent(
|
18 |
role="Author",
|
19 |
+
goal="Write a LinkedIn social media post on topic: {topic}",
|
20 |
+
backstory="You're working on a writing a LinkedIn social media post on topic: {topic}. "
|
21 |
+
"You base your writing on the work of the Researcher, who provides context on this topic.",
|
22 |
allow_delegation=False,
|
23 |
verbose=True
|
24 |
)
|