Spaces:
Sleeping
Sleeping
Fix create_fastapi_app() missing arguments for action_cls and observation_cls
Browse files
main.py
CHANGED
|
@@ -20,7 +20,7 @@ except ImportError as e:
|
|
| 20 |
logger = logging.getLogger(__name__)
|
| 21 |
|
| 22 |
# Create the OpenEnv app (has /ws, /reset, /step, /state, /health, etc.)
|
| 23 |
-
openenv_app = create_fastapi_app(CodeBugEnvironment)
|
| 24 |
|
| 25 |
# Create a wrapper FastAPI app (takes precedence for /api/* routes)
|
| 26 |
app = FastAPI(title="CodeBug API", version="2.0")
|
|
|
|
| 20 |
logger = logging.getLogger(__name__)
|
| 21 |
|
| 22 |
# Create the OpenEnv app (has /ws, /reset, /step, /state, /health, etc.)
|
| 23 |
+
openenv_app = create_fastapi_app(CodeBugEnvironment, CodeReviewAction, CodeReviewObservation)
|
| 24 |
|
| 25 |
# Create a wrapper FastAPI app (takes precedence for /api/* routes)
|
| 26 |
app = FastAPI(title="CodeBug API", version="2.0")
|