Update agents/tools
Browse files- 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 |
"""
|