Jobfromearth commited on
Commit
a401474
·
verified ·
1 Parent(s): bdd55fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -34,6 +34,7 @@ def get_hacker_news_top_stories(limit: int = 5) -> str:
34
  except Exception as e:
35
  return f"Error fetching from Hacker News API: {str(e)}"
36
 
 
37
  def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
38
  #Keep this format for the description / args / args description but feel free to modify the tool
39
  """A tool that does nothing yet
 
34
  except Exception as e:
35
  return f"Error fetching from Hacker News API: {str(e)}"
36
 
37
+ @tool
38
  def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
39
  #Keep this format for the description / args / args description but feel free to modify the tool
40
  """A tool that does nothing yet