File size: 488 Bytes
1adae3f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""
Server entry point — re-exports from env.server.app.

OpenEnv expects server/app.py at the project root with a main() function.
This module delegates to our actual server at env/server/app.py.
"""
import uvicorn
from env.server.app import app  # noqa: F401

__all__ = ["app"]


def main():
    """Run the CodeSensei server."""
    uvicorn.run(
        "env.server.app:app",
        host="0.0.0.0",
        port=7860,
        workers=2,
    )


if __name__ == "__main__":
    main()