Frontmatter
| id | 7526 |
| title | Refactor dbService to use chromaManager |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Oct 17, 2025, 2:14 PM |
| updatedAt | Oct 17, 2025, 2:17 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7526 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 7520 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 17, 2025, 2:17 PM |
Currently,
dbService.mjscreates its own ChromaDB client, which is redundant with the centralizedchromaManager.mjsused by other services. This ticket is to refactordbServiceto use the sharedchromaManagerfor consistency and efficiency.Acceptance Criteria
dbService.mjsis updated to importchromaManager.getMemoryCollectionhelper function indbService.mjsis removed.exportDatabaseandimportDatabasefunctions are updated to usechromaManager.getMemoryCollection()andchromaManager.getSummaryCollection().exportDatabasefunction is enhanced to support exporting bothmemoriesandsummariescollections.