Spaces:
Sleeping
Sleeping
Update agents.py
Browse files
agents.py
CHANGED
@@ -8,6 +8,7 @@ def get_researcher_agent():
|
|
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
|
@@ -19,6 +20,7 @@ def get_author_agent():
|
|
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 |
)
|
|
|
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 |
+
llm=ChatOpenAI(model="gpt-4o", temperature=0.7),
|
12 |
tools = [get_search_tool(), get_scrape_tool()],
|
13 |
allow_delegation=False,
|
14 |
verbose=True
|
|
|
20 |
goal="Write a LinkedIn social media post on topic: {topic}",
|
21 |
backstory="You're working on a writing a LinkedIn social media post on topic: {topic}. "
|
22 |
"You base your writing on the work of the Researcher, who provides context on this topic.",
|
23 |
+
llm=ChatOpenAI(model="gpt-4o", temperature=0.7),
|
24 |
allow_delegation=False,
|
25 |
verbose=True
|
26 |
)
|