Leslie Huang commited on
Commit
7184dbf
·
1 Parent(s): 32f844a

fix tool annotation

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -38,6 +38,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
38
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
39
 
40
 
 
41
  def reverse_word(word: str) -> str:
42
  """A tool that reverses a given word.
43
  Args:
 
38
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
39
 
40
 
41
+ @tool
42
  def reverse_word(word: str) -> str:
43
  """A tool that reverses a given word.
44
  Args: