yadnyeshkolte commited on
Commit
caf7c32
Β·
verified Β·
1 Parent(s): ebdd033

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. server/app.py +12 -0
server/app.py CHANGED
@@ -57,6 +57,18 @@ app = create_app(
57
  max_concurrent_envs=3,
58
  )
59
 
 
 
 
 
 
 
 
 
 
 
 
 
60
 
61
  # ─── Hackathon-required endpoints ─────────────────────────────────────────────
62
 
 
57
  max_concurrent_envs=3,
58
  )
59
 
60
+ # ─── Root endpoint (required: hackathon validator pings / and expects 200) ────
61
+
62
+ @app.get("/")
63
+ async def root():
64
+ """Root endpoint β€” returns environment info and available endpoints."""
65
+ return {
66
+ "name": "api_debug_env",
67
+ "description": "API Integration Debugging Environment",
68
+ "status": "running",
69
+ "endpoints": ["/reset", "/step", "/state", "/tasks", "/grader", "/baseline", "/health", "/schema", "/docs"],
70
+ }
71
+
72
 
73
  # ─── Hackathon-required endpoints ─────────────────────────────────────────────
74