Spaces:
Paused
Paused
Commit History
-
feat(server): add FastAPI server with all OpenEnv endpointsβ
Abhinav Singhserver/app.py β uvicorn FastAPI app on port 7860: POST /reset β start new episode, accepts optional {task_id} body, defaults to task_1_basic_antipatterns POST /step β submit Action, returns StepResult with Observation+Reward GET /state β current EnvironmentState (non-destructive) GET /tasks β list all tasks with descriptions and action schema POST /grader β grade an action against active task without advancing POST /baseline β runs inference.py subprocess and returns stdout GET / β health check returning env name and available tasks CORS middleware enabled for all origins (required for HF Space)e8bc352