fix: Use chromadb v3.2.2 with v2 API heartbeat endpoint

- Updated chromadb from ^1.9.2 to ^3.2.2 (includes CLI binary)
- Changed heartbeat endpoint from /api/v1 to /api/v2

The 1.9.x version did not include the CLI, causing `npx chroma run` to fail.
Version 3.2.2 includes the chroma CLI and uses the v2 API.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
bigphoot
2026-01-23 23:23:36 -08:00
committed by bigphoot
parent 5b3804ac08
commit 70d6ac9daf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -87,8 +87,8 @@
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.76",
"@modelcontextprotocol/sdk": "^1.25.1",
"chromadb": "^1.9.2",
"ansi-to-html": "^0.7.2",
"chromadb": "^3.2.2",
"express": "^4.18.2",
"glob": "^11.0.3",
"handlebars": "^4.7.8",
+1 -1
View File
@@ -131,7 +131,7 @@ export class ChromaServerManager {
while (Date.now() - startTime < timeoutMs) {
try {
const response = await fetch(
`http://${this.config.host}:${this.config.port}/api/v1/heartbeat`
`http://${this.config.host}:${this.config.port}/api/v2/heartbeat`
);
if (response.ok) {
this.ready = true;