matthartman commited on
Commit
c6a3fb3
·
verified ·
1 Parent(s): 9bcd8b3

Rename tools/news.py to tools/get_news.py

Browse files
Files changed (1) hide show
  1. tools/{news.py → get_news.py} +1 -1
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 = "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"
 
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"