Spaces:
Sleeping
Sleeping
Update private_gpt/server/health/health_router.py
Browse files
private_gpt/server/health/health_router.py
CHANGED
@@ -11,7 +11,7 @@ class HealthResponse(BaseModel):
|
|
11 |
status: Literal["ok"] = Field(default="ok")
|
12 |
|
13 |
|
14 |
-
@health_router.get("/health", tags=["Health"])
|
15 |
def health() -> HealthResponse:
|
16 |
"""Return ok if the system is up."""
|
17 |
return HealthResponse(status="ok")
|
|
|
11 |
status: Literal["ok"] = Field(default="ok")
|
12 |
|
13 |
|
14 |
+
@health_router.get("/v1/health", tags=["Health"])
|
15 |
def health() -> HealthResponse:
|
16 |
"""Return ok if the system is up."""
|
17 |
return HealthResponse(status="ok")
|