from __future__ import annotations

import uvicorn

from codeflash_api._config import settings

uvicorn.run(
    "codeflash_api:app",
    host=settings.host,
    port=settings.port,
    reload=settings.environment == "development",
)
