MCPcopy Create free account
hub / github.com/compozy/agh / MemoryHealth

Method MemoryHealth

internal/api/core/memory.go:87–94  ·  view source on GitHub ↗

MemoryHealth returns the memory-specific health snapshot.

(c *gin.Context)

Source from the content-addressed store, hash-verified

85
86// MemoryHealth returns the memory-specific health snapshot.
87func (h *BaseHandlers) MemoryHealth(c *gin.Context) {
88 payload, err := h.memoryHealth(c)
89 if err != nil {
90 h.respondMemoryError(c, StatusForMemoryError(err), err, nil)
91 return
92 }
93 c.JSON(http.StatusOK, payload)
94}
95
96// MemoryConfigMetadata returns settings/config metadata that is safe for agents.
97func (h *BaseHandlers) MemoryConfigMetadata(c *gin.Context) {

Callers

nothing calls this directly

Calls 3

memoryHealthMethod · 0.95
respondMemoryErrorMethod · 0.95
StatusForMemoryErrorFunction · 0.85

Tested by

no test coverage detected