mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-10 21:26:01 +02:00
Healthcheck for model server (#1350)
This commit is contained in:
9
backend/model_server/management_endpoints.py
Normal file
9
backend/model_server/management_endpoints.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from fastapi import APIRouter
|
||||
from fastapi import Response
|
||||
|
||||
router = APIRouter(prefix="/api")
|
||||
|
||||
|
||||
@router.get("/health")
|
||||
def healthcheck() -> Response:
|
||||
return Response(status_code=200)
|
Reference in New Issue
Block a user