fix: comment out api.ListMemories (removed from routes)

This commit is contained in:
小唯 2026-06-15 18:34:12 +08:00
parent a76b6d3afa
commit bd8008b3fd
1 changed files with 1 additions and 1 deletions

View File

@ -781,7 +781,7 @@ func NewServer() http.Handler {
}
})
// GET /api/v1/memories — list all memories (zero-vector search, for plugin compat)
mux.HandleFunc("/api/v1/memories", api.ListMemories)
// mux.HandleFunc("/api/v1/memories", api.ListMemories) // removed: ListMemories not in routes
// /api/v1/memory/{id}/versions — existing version history endpoint
mux.HandleFunc("/api/v1/memory/", func(w http.ResponseWriter, r *http.Request) {
if r.Method == "GET" {