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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ class GaiaFileTool(Tool):
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
24
 
25
  def __init__(self, api_base_url=DEFAULT_API_URL):
26
  super().__init__()
 
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__()