Spaces:
				
			
			
	
			
			
		Paused
		
	
	
	
			
			
	
	
	
	
		
		
		Paused
		
	File size: 359 Bytes
			
			| 382907b 161192d 382907b 161192d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from fastapi import APIRouter
from core import llm_models
router = APIRouter()
@router.get("/")
def health():
    return {"status": "ok"}
@router.get("/health/intents")
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}
 | 
