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

Update tools/news.py

Browse files
Files changed (1) hide show
  1. tools/news.py +2 -2
tools/news.py CHANGED
@@ -1,8 +1,8 @@
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
3
 
4
- class News(Tool):
5
- name = "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"
 
1
  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"