gnyasue commited on
Commit
2007181
·
verified ·
1 Parent(s): 4034ecb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -22
app.py CHANGED
@@ -61,29 +61,7 @@ def get_boardgame_from_bgg(name: str) -> str:
61
  "rank": int(rank),
62
  "bgg_url": f"https://boardgamegeek.com/boardgame/{game_id}"
63
  })
64
- """
65
- @tool
66
- def search_boargame_price(name: str) -> str:
67
-
68
- """A tool to search for a boadgame price using duckduckgo search tool.
69
- """
70
- Args:
71
- name: the name of the boargame you want to search for
72
 
73
- Returns:
74
- search results for game and price
75
- """
76
- """
77
- try:
78
- agent = CodeAgent(
79
- tools[DuckDuckGoSearchTool()],
80
- model = model
81
- )
82
- search_string = f"price of {name} boardgame"
83
- return agent.run(search_string)
84
- except Exception as e:
85
- return "price not found, use usd 150"
86
- """
87
  @tool
88
  def get_current_time_in_timezone(timezone: str) -> str:
89
  """A tool that fetches the current local time in a specified timezone.
 
61
  "rank": int(rank),
62
  "bgg_url": f"https://boardgamegeek.com/boardgame/{game_id}"
63
  })
 
 
 
 
 
 
 
 
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  @tool
66
  def get_current_time_in_timezone(timezone: str) -> str:
67
  """A tool that fetches the current local time in a specified timezone.