690529:1116 ADR-030-230 context aware #04
CI / CD Pipeline / build (push) Successful in 4m39s
CI / CD Pipeline / deploy (push) Successful in 7m59s

This commit is contained in:
2026-05-29 11:16:03 +07:00
parent 5d46504c1d
commit b68a750e4f
5 changed files with 76 additions and 3 deletions
@@ -5,6 +5,7 @@
// - 2026-05-21: เพิ่ม API service สำหรับ Superadmin Sandbox RAG (T037).
// - 2026-05-21: เพิ่ม service method `submitSandboxExtract` สำหรับอัปโหลดไฟล์ใน OCR Sandbox (T043).
// - 2026-05-25: เพิ่ม methods สำหรับจัดการโมเดล AI แบบไดนามิก (ADR-027).
// - 2026-05-29: เพิ่ม ocr field ใน AiSystemHealth interface ตาม OcrService.checkHealth()
import api from '../api/client';
@@ -34,6 +35,12 @@ export interface AiSystemHealth {
collections?: string[];
error?: string;
};
ocr: {
status: 'HEALTHY' | 'DOWN';
latencyMs: number;
url: string;
error?: string;
};
queues: {
realtime: QueueMetrics;
batch: QueueMetrics;