bstraehle commited on
Commit
b06b408
1 Parent(s): adfab55

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +2 -2
agents.py CHANGED
@@ -1,6 +1,6 @@
1
  from crewai import Agent
2
  from langchain_openai import ChatOpenAI
3
- from tools import scrape_tool, search_tool, today_tool
4
 
5
  def get_researcher_agent(model):
6
  return Agent(
@@ -9,7 +9,7 @@ def get_researcher_agent(model):
9
  backstory="You're working on researching content on topic {topic}. "
10
  "Your work is the basis for the Blogger to post on this topic.",
11
  llm=ChatOpenAI(model=model, temperature=0.7),
12
- tools = [search_tool(), scrape_tool(), today_tool()],
13
  allow_delegation=False,
14
  verbose=False
15
  )
 
1
  from crewai import Agent
2
  from langchain_openai import ChatOpenAI
3
+ from tools import scrape_tool, search_tool
4
 
5
  def get_researcher_agent(model):
6
  return Agent(
 
9
  backstory="You're working on researching content on topic {topic}. "
10
  "Your work is the basis for the Blogger to post on this topic.",
11
  llm=ChatOpenAI(model=model, temperature=0.7),
12
+ tools = [search_tool(), scrape_tool(), today_tool],
13
  allow_delegation=False,
14
  verbose=False
15
  )