mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-09-11 22:30:41 +03:00
16 lines
380 B
Python
16 lines
380 B
Python
from fastapi import APIRouter
|
|
from fastapi.responses import ORJSONResponse
|
|
from starlette import status
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get(
|
|
"/healthcheck",
|
|
name="system:healthcheck",
|
|
status_code=status.HTTP_200_OK,
|
|
summary="Healthcheck service",
|
|
)
|
|
async def healthcheck() -> ORJSONResponse:
|
|
return ORJSONResponse(content=None, status_code=status.HTTP_200_OK)
|