Awais
Restore original HF deployment with RAG search fallback fix
04dc214
Raw
History Blame Contribute Delete
467 Bytes
"""User management API endpoints."""
from fastapi import APIRouter
router = APIRouter(prefix="/users", tags=["users"])
@router.get("/profile")
async def get_user_profile():
"""Get current user profile."""
return {
"id": "demo-user",
"name": "Demo User",
"role": "educator",
}
@router.get("/health")
async def users_health():
"""Check users service health."""
return {"status": "healthy", "service": "user-management"}