Spaces:
Running
Running
Bader Alabddan
Add core implementation: API, registry, audit, Docker config, and quickstart guide
8036886
| """Health check endpoints.""" | |
| from fastapi import APIRouter | |
| from datetime import datetime | |
| router = APIRouter() | |
| async def health_check(): | |
| """Health check endpoint.""" | |
| return { | |
| "status": "healthy", | |
| "timestamp": datetime.utcnow().isoformat(), | |
| "service": "BDR Agent Factory" | |
| } | |
| async def readiness_check(): | |
| """Readiness check endpoint.""" | |
| return { | |
| "status": "ready", | |
| "timestamp": datetime.utcnow().isoformat() | |
| } | |