Daksh Chaudhary commited on
Commit
417bd68
·
verified ·
1 Parent(s): ce62dc5

Updated WebSearchTool.py

Browse files

Commented Tavily_API_Key out from code.

Files changed (1) hide show
  1. agent_tools/WebSearchTool.py +1 -1
agent_tools/WebSearchTool.py CHANGED
@@ -6,6 +6,6 @@ from llama_index.tools.tavily_research import TavilyToolSpec
6
  def web_search_tools()->List[FunctionTool]:
7
  "Tool to search the web with Tavily (search + scraping)"
8
 
9
- os.environ["TAVILY_API_KEY"] = ""
10
  tavily_spec = TavilyToolSpec(api_key=os.getenv("TAVILY_API_KEY"))
11
  return tavily_spec.to_tool_list()
 
6
  def web_search_tools()->List[FunctionTool]:
7
  "Tool to search the web with Tavily (search + scraping)"
8
 
9
+ #os.environ["TAVILY_API_KEY"] = ""
10
  tavily_spec = TavilyToolSpec(api_key=os.getenv("TAVILY_API_KEY"))
11
  return tavily_spec.to_tool_list()