Spaces:
Running
Running
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
from crewai import Agent
|
| 2 |
|
|
|
|
|
|
|
| 3 |
def get_content_planner_agent():
|
| 4 |
return Agent(
|
| 5 |
role="Content Planner",
|
|
@@ -12,7 +14,8 @@ def get_content_planner_agent():
|
|
| 12 |
"Your work is the basis for "
|
| 13 |
"the Content Writer to write an article on this topic.",
|
| 14 |
allow_delegation=False,
|
| 15 |
-
|
|
|
|
| 16 |
)
|
| 17 |
|
| 18 |
def get_content_writer_agent():
|
|
|
|
| 1 |
from crewai import Agent
|
| 2 |
|
| 3 |
+
from tools import get_scrape_tool, get_search_tool
|
| 4 |
+
|
| 5 |
def get_content_planner_agent():
|
| 6 |
return Agent(
|
| 7 |
role="Content Planner",
|
|
|
|
| 14 |
"Your work is the basis for "
|
| 15 |
"the Content Writer to write an article on this topic.",
|
| 16 |
allow_delegation=False,
|
| 17 |
+
verbose=True,
|
| 18 |
+
tools = [get_scrape_tool(), get_search_tool()]
|
| 19 |
)
|
| 20 |
|
| 21 |
def get_content_writer_agent():
|