Skip to content

Commit 46730c4

Browse files
committed
Refactor: Enhance Memory Core HealthService for Robustness and Diagnostics #7635
1 parent 8363637 commit 46730c4

3 files changed

Lines changed: 342 additions & 40 deletions

File tree

ai/mcp/server/memory-core/openapi.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,13 @@ components:
491491
properties:
492492
status:
493493
type: string
494+
enum: [healthy, degraded, unhealthy]
494495
example: "healthy"
496+
timestamp:
497+
type: string
498+
format: date-time
499+
description: The ISO 8601 timestamp of when the health check was performed.
500+
example: "2025-10-24T10:00:00.000Z"
495501
database:
496502
type: object
497503
properties:
@@ -516,6 +522,7 @@ components:
516522
example: true
517523
collections:
518524
type: object
525+
nullable: true
519526
properties:
520527
memories:
521528
type: object
@@ -541,6 +548,21 @@ components:
541548
count:
542549
type: integer
543550
example: 56
551+
features:
552+
type: object
553+
properties:
554+
summarization:
555+
type: boolean
556+
description: "Indicates if the summarization feature is available (requires GEMINI_API_KEY)."
557+
example: true
558+
details:
559+
type: array
560+
items:
561+
type: string
562+
description: "A list of human-readable details about the system's status."
563+
example:
564+
- "ChromaDB is running and all collections are accessible"
565+
- "All features are operational"
544566
version:
545567
type: string
546568
example: "1.0.0"

0 commit comments

Comments
 (0)