emmac commited on
Commit
2e5a7d9
·
verified ·
1 Parent(s): 4d2847b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -67,6 +67,12 @@ agent = CodeAgent(
67
  prompt_templates=prompt_templates
68
  )
69
 
70
- print("Agent tools:", [t.name for t in agent.tools])
 
 
 
 
 
 
71
 
72
  GradioUI(agent).launch()
 
67
  prompt_templates=prompt_templates
68
  )
69
 
70
+ print("Agent tools (raw):", agent.tools)
71
+ print("Agent tools (types):", [type(t) for t in agent.tools])
72
+
73
+ for i, t in enumerate(agent.tools):
74
+ name = getattr(t, "name", None)
75
+ print(f"Tool {i}: type={type(t)} name={name} value={t}")
76
+
77
 
78
  GradioUI(agent).launch()