Sborole commited on
Commit
d259fdf
·
verified ·
1 Parent(s): 43e5e58

Update tools/ReadExcelTool.py

Browse files
Files changed (1) hide show
  1. tools/ReadExcelTool.py +2 -1
tools/ReadExcelTool.py CHANGED
@@ -1,7 +1,8 @@
1
  import pandas as pd
2
  from typing import Dict, Any
 
3
 
4
- class ReadExcelTool:
5
  """
6
  Reads an Excel file (.xlsx) and returns the content of the first sheet
7
  as a formatted markdown table string.
 
1
  import pandas as pd
2
  from typing import Dict, Any
3
+ from smolagents.tools import Tool
4
 
5
+ class ReadExcelTool(Tool):
6
  """
7
  Reads an Excel file (.xlsx) and returns the content of the first sheet
8
  as a formatted markdown table string.