Spaces:
Sleeping
Sleeping
Rename tools/news.py to tools/get_news.py
Browse files
tools/{news.py → get_news.py}
RENAMED
@@ -2,7 +2,7 @@ from typing import Any, Optional
|
|
2 |
from smolagents.tools import Tool
|
3 |
|
4 |
class GetNewsTool(Tool):
|
5 |
-
name = "
|
6 |
description = "Fetches the latest NYTimes RSS feed and returns the headlines of the most recent 5 stories."
|
7 |
inputs = {} # This tool does not require any inputs.
|
8 |
output_type = "string"
|
|
|
2 |
from smolagents.tools import Tool
|
3 |
|
4 |
class GetNewsTool(Tool):
|
5 |
+
name = "Get_News"
|
6 |
description = "Fetches the latest NYTimes RSS feed and returns the headlines of the most recent 5 stories."
|
7 |
inputs = {} # This tool does not require any inputs.
|
8 |
output_type = "string"
|