Matty-Sam commited on
Commit
ee71d7a
·
verified ·
1 Parent(s): b5678d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
36
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
37
 
38
  @tool
39
- def search_for_books(author: str) -> str:
40
  """A tool that searches for books by author keywords or words in the title of the book
41
  Args:
42
  author: A string representing an authors name.
 
36
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
37
 
38
  @tool
39
+ def search_for_books(author: str) -> list[dict[str,str]]:
40
  """A tool that searches for books by author keywords or words in the title of the book
41
  Args:
42
  author: A string representing an authors name.