feat(health): include degraded reasons in responses

This commit is contained in:
2026-04-21 13:34:58 +00:00
parent 703cceb512
commit 9022c8dbf3
4 changed files with 84 additions and 1 deletions
+2
View File
@@ -309,6 +309,8 @@ export interface IApiError {
export interface IHealthResponse {
/** Status */
status: 'ok' | 'degraded' | 'error';
/** Machine-readable reasons for degraded or error states */
reasons?: Array<'unhealthy_container' | 'no_models_available' | 'gpu_detection_failed'>;
/** Version */
version: string;
/** Uptime in seconds */