Yassine Mhirsi
Add model_config to HealthResponse in health.py for enhanced configuration options
170053d
| """Pydantic schemas for health check endpoints""" | |
| from pydantic import BaseModel, ConfigDict | |
| class HealthResponse(BaseModel): | |
| """Health check response""" | |
| model_config = ConfigDict(protected_namespaces=()) | |
| status: str | |
| model_loaded: bool | |
| device: str | |
| timestamp: str | |