LearnNewsExamplesServices
Frontmatter
id7555
titleCentralize ChromaDB Client Warning Suppression in ChromaManager
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 20, 2025, 12:17 AM
updatedAtOct 20, 2025, 12:18 AM
githubUrlhttps://github.com/neomjs/neo/issues/7555
authortobiu
commentsCount0
parentIssue7536
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 20, 2025, 12:18 AM

Centralize ChromaDB Client Warning Suppression in ChromaManager

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 20, 2025, 12:17 AM

During the refactoring of the knowledge-base services, a piece of code that suppresses console warnings from the ChromaDB client was removed from the HealthService. This logic is a cross-cutting concern and should not live within an individual service.

This ticket covers moving the warning suppression logic into the ChromaManager for both the knowledge-base and memory-core servers. This will centralize the logic, remove code duplication, and ensure that all services using the manager benefit from cleaner console output.

Acceptance Criteria

  1. The getKnowledgeBaseCollection() method in ai/mcp/server/knowledge-base/services/ChromaManager.mjs is updated to wrap the client.getOrCreateCollection() call with the console.warn suppression logic.
  2. The getMemoryCollection() and getSummaryCollection() methods in ai/mcp/server/memory-core/services/ChromaManager.mjs are updated to wrap their respective client.getCollection() or client.getOrCreateCollection() calls with the console.warn suppression logic.
  3. The HealthService and any other service that previously contained this logic are confirmed to no longer have it.
  4. The functionality of all related services remains unchanged, but the console output is cleaner.
tobiu assigned to @tobiu on Oct 20, 2025, 12:17 AM
tobiu added parent issue #7536 on Oct 20, 2025, 12:17 AM
tobiu added the enhancement label on Oct 20, 2025, 12:17 AM
tobiu added the ai label on Oct 20, 2025, 12:17 AM
tobiu referenced in commit 36a807e - "Centralize ChromaDB Client Warning Suppression in ChromaManager #7555" on Oct 20, 2025, 12:17 AM
tobiu closed this issue on Oct 20, 2025, 12:18 AM