amatsarski commited on
Commit
235279c
·
verified ·
1 Parent(s): a5d5aaa

Update agents/tools

Browse files
Files changed (1) hide show
  1. agents/tools +2 -0
agents/tools CHANGED
@@ -1,3 +1,5 @@
 
 
1
  @tool("search_news", return_direct=False)
2
  def search_news_tool(query: str, max_results: int = 5) -> str:
3
  """
 
1
+ from langchain.tools import tool
2
+
3
  @tool("search_news", return_direct=False)
4
  def search_news_tool(query: str, max_results: int = 5) -> str:
5
  """