""" server/app.py — OpenEnv server entry point. Required by openenv validate spec. Re-exports the FastAPI app from app.main. """ from app.main import app __all__ = ["app", "main"] def main() -> None: """Run the FastAPI app with uvicorn when invoked as a script.""" import uvicorn uvicorn.run("app.main:app", host="0.0.0.0", port=7860, workers=1) if __name__ == "__main__": main()