Add stderr option to Chroma client initialization for better error handling

- Updated the StdioClientTransport configuration in search-server.ts to include 'stderr: ignore' for the Chroma client.
- Modified the ChromaSync class in ChromaSync.ts to also set 'stderr: ignore' when initializing the Chroma client.
This commit is contained in:
Alex Newman
2025-11-03 18:19:35 -05:00
parent b25b312bf3
commit 263a8d4c18
4 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -98,7 +98,8 @@ export class ChromaSync {
'chroma-mcp',
'--client-type', 'persistent',
'--data-dir', this.VECTOR_DB_DIR
]
],
stderr: 'ignore'
});
this.client = new Client({