aneesarom commited on
Commit
08351f5
·
verified ·
1 Parent(s): fe67fc8

Upload agent

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -2
  2. tools/get_today_datetime.py +5 -2
requirements.txt CHANGED
@@ -1,2 +1 @@
1
- smolagents
2
- smolagents[litellm]
 
1
+ smolagents
 
tools/get_today_datetime.py CHANGED
@@ -5,12 +5,15 @@ class SimpleTool(Tool):
5
  name = "get_today_datetime"
6
  description = "Get the current local date and time."
7
  inputs = {}
8
- output_type = "null"
9
 
10
- def forward(self):
11
  """
12
  Get the current local date and time.
13
 
 
 
 
14
  Returns:
15
  str: Current date and time in the format 'YYYY-MM-DD HH:MM:SS'.
16
 
 
5
  name = "get_today_datetime"
6
  description = "Get the current local date and time."
7
  inputs = {}
8
+ output_type = "string"
9
 
10
+ def forward(self) -> str:
11
  """
12
  Get the current local date and time.
13
 
14
+ Args:
15
+ None
16
+
17
  Returns:
18
  str: Current date and time in the format 'YYYY-MM-DD HH:MM:SS'.
19