Spaces:
Paused
Paused
File size: 309 Bytes
382907b 231e232 382907b |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from fastapi import APIRouter
from core import INTENT_MODELS
router = APIRouter()
@router.get("/")
def health():
return {"status": "ok"}
@router.get("/health/intents")
def health_intents():
loaded_projects = list(INTENT_MODELS.keys())
return {"status": "ok", "loaded_projects": loaded_projects} |