Spaces:
Running
Running
Update agents.py
Browse files
agents.py
CHANGED
@@ -14,9 +14,9 @@ def get_researcher_agent(model, verbose):
|
|
14 |
verbose=verbose
|
15 |
)
|
16 |
|
17 |
-
def
|
18 |
return Agent(
|
19 |
-
role="
|
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.",
|
|
|
14 |
verbose=verbose
|
15 |
)
|
16 |
|
17 |
+
def get_author_agent(model, verbose):
|
18 |
return Agent(
|
19 |
+
role="Author",
|
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.",
|