NeonClary's picture
Deploy brand mark, logo palette, goal-aware starters, and carousel fit.
ffcad5d verified
Raw History Blame Contribute Delete
724 Bytes
from fastapi import APIRouter
from app.config import get_settings
from app.version import __version__
import logging
logger = logging.getLogger(__name__)
router = APIRouter()
@router.get("/health")
def health():
"""Backend heartbeat — kept off ``/`` so the SPA can own the Space root."""
title = get_settings().app.title
return {
"message": f"{title} Backend is up and running",
"version": __version__,
"features": [
"Configurable Personas",
"Improved Session Management",
"Unified Context Handling",
"Ollama Support",
"Gemini API Support",
"Provider Switching",
],
}