ageraustine commited on
Commit
0fdfad8
·
verified ·
1 Parent(s): 4230082

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -2
agent.py CHANGED
@@ -20,8 +20,8 @@ class ReActAgent:
20
  """
21
  Initializes the agent with default tools, OpenAI LLM, and an empty history.
22
  """
23
- # self.tools = [TavilySearchResults(max_results=15)]
24
- self.tools = [DuckDuckGoSearchResults()]
25
  self.prompt = hub.pull("hwchase17/react-chat")
26
  self.llm = OpenAI()
27
  agent = self.create_agent()
 
20
  """
21
  Initializes the agent with default tools, OpenAI LLM, and an empty history.
22
  """
23
+ self.tools = [TavilySearchResults(max_results=15)]
24
+ # self.tools = [DuckDuckGoSearchResults()]
25
  self.prompt = hub.pull("hwchase17/react-chat")
26
  self.llm = OpenAI()
27
  agent = self.create_agent()