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
@@ -1756,7 +1756,8 @@ async function main() {
console.error('[search-server] Initializing Chroma client...');
const chromaTransport = new StdioClientTransport({
command: 'uvx',
args: ['chroma-mcp', '--client-type', 'persistent', '--data-dir', VECTOR_DB_DIR]
args: ['chroma-mcp', '--client-type', 'persistent', '--data-dir', VECTOR_DB_DIR],
stderr: 'ignore'
});
const client = new Client({