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:
@@ -583,7 +583,6 @@ func (h *AuthHandler) GetCurrentUser(c *gin.Context) {
|
||||
// (preserve existing value) from "explicit false". See
|
||||
// types.UserPreferences for the persistence-layer counterpart.
|
||||
type updateMyPreferencesRequest struct {
|
||||
EnableMemory *bool `json:"enable_memory"`
|
||||
// LastActiveTenantID lets the SPA persist "after a fresh login,
|
||||
// drop me back into this workspace" across devices. Send a positive
|
||||
// workspace id to set / replace, or 0 to clear. Membership is validated
|
||||
@@ -623,7 +622,6 @@ func (h *AuthHandler) UpdateMyPreferences(c *gin.Context) {
|
||||
}
|
||||
|
||||
patch := types.UserPreferences{
|
||||
EnableMemory: req.EnableMemory,
|
||||
LastActiveTenantID: req.LastActiveTenantID,
|
||||
}
|
||||
prefs, err := h.userService.UpdateUserPreferences(ctx, user.ID, patch)
|
||||
|
||||
Reference in New Issue
Block a user