Spaces:
Sleeping
Sleeping
fix: TOOLS
Browse files
app.py
CHANGED
@@ -35,9 +35,10 @@ TOOLS = [
|
|
35 |
transcribe_audio,
|
36 |
read_file_tool,
|
37 |
*request_tools
|
38 |
-
]
|
39 |
|
40 |
-
|
|
|
41 |
|
42 |
|
43 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
|
35 |
transcribe_audio,
|
36 |
read_file_tool,
|
37 |
*request_tools
|
38 |
+
]
|
39 |
|
40 |
+
tool_names = [tool.name if hasattr(tool, "name") else str(tool) for tool in TOOLS]
|
41 |
+
print(json.dumps(tool_names, indent=2))
|
42 |
|
43 |
|
44 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|