Spaces:
Runtime error
Runtime error
File size: 577 Bytes
43cbf31 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | """FastAPI server entry point for RLM-Forge environment.
This module provides the standardized OpenEnv server entry point.
It wraps the rlm_forge.server.app module for multi-mode deployment.
Usage:
uv run server
python -m server.app
uvicorn server.app:app --host 0.0.0.0 --port 8000
"""
from rlm_forge.server.app import app # noqa: F401
def main(host: str = "0.0.0.0", port: int = 8000):
"""Entry point for direct execution via uv run or python -m."""
import uvicorn
uvicorn.run(app, host=host, port=port)
if __name__ == "__main__":
main()
|