Update app.py
Browse files
app.py
CHANGED
|
@@ -346,7 +346,17 @@ def build_graph():
|
|
| 346 |
|
| 347 |
return graph.compile()
|
| 348 |
|
| 349 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 350 |
|
| 351 |
# =========================
|
| 352 |
# GAIA RUNNERS FOR SUBMISSION
|
|
|
|
| 346 |
|
| 347 |
return graph.compile()
|
| 348 |
|
| 349 |
+
print("✅ app.py loaded")
|
| 350 |
+
|
| 351 |
+
try:
|
| 352 |
+
compiled_graph = build_graph()
|
| 353 |
+
print("✅ Graph compiled")
|
| 354 |
+
agent = BasicAgent(compiled_graph)
|
| 355 |
+
print("✅ Agent ready")
|
| 356 |
+
except Exception as e:
|
| 357 |
+
import traceback
|
| 358 |
+
print("❌ Agent init failed:")
|
| 359 |
+
print(traceback.format_exc())
|
| 360 |
|
| 361 |
# =========================
|
| 362 |
# GAIA RUNNERS FOR SUBMISSION
|