Skip to content

Commit 1408fcb

Browse files
Fix chromadb
Client library upgrade requires Docker image upgrade. Docker image upgrade changed persistence location, test updated.
1 parent f5aeee1 commit 1408fcb

File tree

3 files changed

+3
-39
lines changed

3 files changed

+3
-39
lines changed

package-lock.json

Lines changed: 1 addition & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM chromadb/chroma:0.6.3
1+
FROM chromadb/chroma:1.0.10

packages/modules/chromadb/src/chromadb-container.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe("ChromaDB", { timeout: 360_000 }, () => {
8282
it("should reconnect with volume and persistence data", async () => {
8383
const sourcePath = fs.mkdtempSync(path.join(os.tmpdir(), "chroma-temp"));
8484
const container = await new ChromaDBContainer(IMAGE)
85-
.withBindMounts([{ source: sourcePath, target: "/chroma/chroma" }])
85+
.withBindMounts([{ source: sourcePath, target: "/data" }])
8686
.start();
8787
const client = await connectTo(container);
8888
const collection = await client.createCollection({ name: "test", metadata: { "hnsw:space": "cosine" } });

0 commit comments

Comments
 (0)