patopla commited on
Commit
b168e93
·
verified ·
1 Parent(s): 8273c1f

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -5
tools.py CHANGED
@@ -1,15 +1,11 @@
1
  from smolagents import DuckDuckGoSearchTool
2
  from smolagents import Tool
 
3
 
4
 
5
  # Initialize the DuckDuckGo search tool
6
  search_tool = DuckDuckGoSearchTool()
7
 
8
-
9
- import random
10
-
11
- import random
12
-
13
  class CurrencyConverterTool(Tool):
14
  name = "currency_converter"
15
  description = "Converts amounts between different currencies using dummy exchange rates."
 
1
  from smolagents import DuckDuckGoSearchTool
2
  from smolagents import Tool
3
+ import random
4
 
5
 
6
  # Initialize the DuckDuckGo search tool
7
  search_tool = DuckDuckGoSearchTool()
8
 
 
 
 
 
 
9
  class CurrencyConverterTool(Tool):
10
  name = "currency_converter"
11
  description = "Converts amounts between different currencies using dummy exchange rates."