MarcoM003 commited on
Commit
6385a92
·
verified ·
1 Parent(s): 70f8f67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -11,6 +11,8 @@ from Gradio_UI import GradioUI
11
  @tool
12
  def get_chess_leaderboard(prompt: str) -> str:
13
  """A tool that fetches the current chess leaderboard from Chess.com API.
 
 
14
  """
15
  url = "https://api.chess.com/pub/leaderboards"
16
  headers = {"User-Agent": "MiAgenteIA/1.0 (ejecutando desde VSCode)"}
 
11
  @tool
12
  def get_chess_leaderboard(prompt: str) -> str:
13
  """A tool that fetches the current chess leaderboard from Chess.com API.
14
+ Args:
15
+ prompt: The type of leaderboard to fetch (e.g. "blitz", "rapid", etc.)
16
  """
17
  url = "https://api.chess.com/pub/leaderboards"
18
  headers = {"User-Agent": "MiAgenteIA/1.0 (ejecutando desde VSCode)"}