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
@@ -45,7 +45,6 @@ type sessionService struct {
webSearchStateRepo interfaces.WebSearchStateService // Service for web search state
webSearchProviderRepo interfaces.WebSearchProviderRepository // Repository for web search provider entities
kbShareService interfaces.KBShareService // Service for KB sharing operations
memoryService interfaces.MemoryService // Service for memory operations
suggestionRepo interfaces.MessageSuggestionRepository
}
@@ -63,7 +62,6 @@ func NewSessionService(cfg *config.Config,
webSearchStateRepo interfaces.WebSearchStateService,
webSearchProviderRepo interfaces.WebSearchProviderRepository,
kbShareService interfaces.KBShareService,
memoryService interfaces.MemoryService,
suggestionRepo interfaces.MessageSuggestionRepository,
) interfaces.SessionService {
return &sessionService{
@@ -80,7 +78,6 @@ func NewSessionService(cfg *config.Config,
webSearchStateRepo: webSearchStateRepo,
webSearchProviderRepo: webSearchProviderRepo,
kbShareService: kbShareService,
memoryService: memoryService,
suggestionRepo: suggestionRepo,
}
}