Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ class BasicAgent:
|
|
| 58 |
# return answer.text
|
| 59 |
|
| 60 |
@tool
|
| 61 |
-
def get_file(self:
|
| 62 |
'''
|
| 63 |
Downloads the file associated with the given task_id, if one exists and is mapped.
|
| 64 |
If the question mentions an attachment, use this function.
|
|
|
|
| 58 |
# return answer.text
|
| 59 |
|
| 60 |
@tool
|
| 61 |
+
def get_file(self: any, task_id: str) -> IO:
|
| 62 |
'''
|
| 63 |
Downloads the file associated with the given task_id, if one exists and is mapped.
|
| 64 |
If the question mentions an attachment, use this function.
|