Skip to content

Commit 53cdcfa

Browse files
committed
fix: QdrantVectorStore test dimension mismatch
1 parent 0f21a6a commit 53cdcfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/code-index/vector-store/__tests__/qdrant-client.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ describe("QdrantVectorStore", () => {
5050
const mockWorkspacePath = "/test/workspace"
5151
const mockQdrantUrl = "http://mock-qdrant:6333"
5252
const mockApiKey = "test-api-key"
53-
const mockVectorSize = 1536
53+
const mockVectorSize = 3
5454
const mockHashedPath = "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6" // Needs to be long enough
5555
const expectedCollectionName = `ws-${mockHashedPath.substring(0, 16)}`
5656

0 commit comments

Comments
 (0)