from __future__ import annotations import os from fastapi.responses import HTMLResponse from openenv.core.env_server.http_server import create_app from models import CareerPlanningAction, CareerPlanningObservation, CareerPlanningState from server.career_planning_environment import CareerPlanningEnvironment app = create_app( CareerPlanningEnvironment, CareerPlanningAction, CareerPlanningObservation, env_name="career_planning", max_concurrent_envs=4, ) @app.get("/", include_in_schema=False) def root() -> HTMLResponse: return HTMLResponse( """
Test the OpenEnv deployment directly from the browser. The API remains fully compatible with the automated checker, and this page gives you a simple way to explore it manually.
Click "POST /reset" to test the deployed environment.