hassenhamdi commited on
Commit
b7414d1
·
verified ·
1 Parent(s): 7d29423

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ class GaiaFileTool(Tool):
19
  """
20
  name = "download_gaia_file"
21
  description = "Downloads a file associated with a given GAIA task ID and returns its content. It takes 'task_id' as input and returns the file content as a string. Use this when a question refers to an external file."
22
- inputs = {"task_id": {"type": "str", "description": "The task ID for which to download the file (e.g., '2345')."}}
23
- output_type = "str" # Changed from str to "str" to match expected string type
24
 
25
  def __init__(self, api_base_url=DEFAULT_API_URL):
26
  super().__init__()
 
19
  """
20
  name = "download_gaia_file"
21
  description = "Downloads a file associated with a given GAIA task ID and returns its content. It takes 'task_id' as input and returns the file content as a string. Use this when a question refers to an external file."
22
+ inputs = {"task_id": {"type": "string", "description": "The task ID for which to download the file (e.g., '2345')."}} # Corrected type to "string"
23
+ output_type = "string" # Corrected type to "string"
24
 
25
  def __init__(self, api_base_url=DEFAULT_API_URL):
26
  super().__init__()