Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,6 +67,12 @@ agent = CodeAgent(
|
|
| 67 |
prompt_templates=prompt_templates
|
| 68 |
)
|
| 69 |
|
| 70 |
-
print("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()
|