refactor: remove Neo4j-based conversation memory feature

Drop the memory pipeline, API fields, settings UI, and embed toggles so chat no longer depends on Neo4j graph storage for episodic recall.
This commit is contained in:
wizardchen
2026-07-18 23:40:20 +08:00
committed by lyingbug
parent 7807dee42a
commit 380e371c2e
45 changed files with 47 additions and 915 deletions
-3
View File
@@ -29,7 +29,6 @@ type Handler struct {
fileService interfaces.FileService // Service for file storage (image uploads)
storageResolver interfaces.StorageBackendResolver
modelService interfaces.ModelService // Service for model management (VLM access)
userService interfaces.UserService // Service for resolving per-user preferences (e.g. enable_memory default)
attachmentProcessor *AttachmentProcessor // Processor for file attachments
temporaryDocuments interfaces.TemporaryDocumentService
}
@@ -49,7 +48,6 @@ func NewHandler(
fileService interfaces.FileService,
storageResolver interfaces.StorageBackendResolver,
modelService interfaces.ModelService,
userService interfaces.UserService,
documentReader interfaces.DocumentReader,
imageResolver *docparser.ImageResolver,
temporaryDocuments interfaces.TemporaryDocumentService,
@@ -68,7 +66,6 @@ func NewHandler(
fileService: fileService,
storageResolver: storageResolver,
modelService: modelService,
userService: userService,
temporaryDocuments: temporaryDocuments,
attachmentProcessor: NewAttachmentProcessor(
fileService,