Spaces:
Paused
Paused
from fastapi import APIRouter | |
from core import llm_models | |
router = APIRouter() | |
def health(): | |
return {"status": "ok"} | |
def health_intents(): | |
loaded_projects = [proj for proj, model in llm_models.items() if model.intent_model is not None] | |
return {"status": "ok", "loaded_projects": loaded_projects} | |