loteriof commited on
Commit
3e87b44
·
verified ·
1 Parent(s): b664ac4

change web_search to search

Browse files

Change the name of the function web_search to search to differentiate it from the one in the tools package

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,7 +83,7 @@ def support_decision(claim:str, news:dict)-> str:
83
 
84
 
85
  @tool
86
- def web_search(claim:str)-> list:
87
  """A tool that receives a claim and gather news about it by making a web search
88
  Args:
89
  claim: the claim we are searching about
@@ -168,7 +168,7 @@ agent = ToolCallingAgent(
168
  tools=[final_answer,
169
  url_to_claim,
170
  support_decision,
171
- web_search,
172
  check],
173
  max_steps=6,
174
  verbosity_level=1,
 
83
 
84
 
85
  @tool
86
+ def search(claim:str)-> list:
87
  """A tool that receives a claim and gather news about it by making a web search
88
  Args:
89
  claim: the claim we are searching about
 
168
  tools=[final_answer,
169
  url_to_claim,
170
  support_decision,
171
+ search,
172
  check],
173
  max_steps=6,
174
  verbosity_level=1,