Spaces:
Sleeping
Sleeping
Update tasks.py
Browse files
tasks.py
CHANGED
@@ -2,7 +2,7 @@ from crewai import Task
|
|
2 |
|
3 |
from agents import get_researcher_agent, get_blogger_agent
|
4 |
|
5 |
-
def
|
6 |
return Task(
|
7 |
description=(
|
8 |
"1. Search the web for content on topic {topic}.\n"
|
@@ -12,7 +12,7 @@ def get_researcher_task(model):
|
|
12 |
agent=get_researcher_agent(model),
|
13 |
)
|
14 |
|
15 |
-
def
|
16 |
return Task(
|
17 |
description=(
|
18 |
"1. Use the context to write a LinkedIn post on topic {topic}.\n"
|
|
|
2 |
|
3 |
from agents import get_researcher_agent, get_blogger_agent
|
4 |
|
5 |
+
def get_research_task(model):
|
6 |
return Task(
|
7 |
description=(
|
8 |
"1. Search the web for content on topic {topic}.\n"
|
|
|
12 |
agent=get_researcher_agent(model),
|
13 |
)
|
14 |
|
15 |
+
def get_blog_task(model):
|
16 |
return Task(
|
17 |
description=(
|
18 |
"1. Use the context to write a LinkedIn post on topic {topic}.\n"
|