laverdes commited on
Commit
f199262
·
verified ·
1 Parent(s): 346989f

fix: TOOLS

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -35,9 +35,10 @@ TOOLS = [
35
  transcribe_audio,
36
  read_file_tool,
37
  *request_tools
38
- ],
39
 
40
- print(f"tools: {json.dumps(TOOLS, indent=2)}")
 
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"