Mohammad Haghir commited on
Commit ·
6dae357
1
Parent(s): 6405999
new mode
Browse files- agent_utils.py +1 -1
agent_utils.py
CHANGED
|
@@ -68,7 +68,7 @@ def tavily_ret(query: str, max_results: int = 3) -> str:
|
|
| 68 |
|
| 69 |
|
| 70 |
def handle_file_tool(input: dict) -> str:
|
| 71 |
-
"""
|
| 72 |
question = input.get("question", "")
|
| 73 |
file_url = input.get("file", "")
|
| 74 |
|
|
|
|
| 68 |
|
| 69 |
|
| 70 |
def handle_file_tool(input: dict) -> str:
|
| 71 |
+
"""Reads the file attached to a question"""
|
| 72 |
question = input.get("question", "")
|
| 73 |
file_url = input.get("file", "")
|
| 74 |
|