import uvicorn
import os


def main() -> None:
    port = int(os.environ.get("PORT", "7860"))
    uvicorn.run("agentui.api.server:app", host="127.0.0.1", port=port, reload=False)


if __name__ == "__main__":
    main()


