diff --git a/src/shared/schemas/qdrant.ts b/src/shared/schemas/qdrant.ts index 744ec41bfe..09f78c502d 100644 --- a/src/shared/schemas/qdrant.ts +++ b/src/shared/schemas/qdrant.ts @@ -37,8 +37,3 @@ export const QdrantHealthResultSchema = z.object({ latencyMs: z.number(), error: z.string().optional(), }); - -export type QdrantSettings = z.infer; -export type QdrantSettingsUpdate = z.infer; -export type QdrantSearch = z.infer; -export type QdrantHealthResult = z.infer; diff --git a/tests/unit/memory-schemas-roundtrip.test.ts b/tests/unit/memory-schemas-roundtrip.test.ts index cabdef7b57..b7d3f5f6ac 100644 --- a/tests/unit/memory-schemas-roundtrip.test.ts +++ b/tests/unit/memory-schemas-roundtrip.test.ts @@ -325,6 +325,7 @@ test("QdrantSettingsSchema: accepts valid settings with defaults applied", () => if (result.success) { assert.equal(result.data.port, 6333, "Default port should be 6333"); assert.equal(result.data.collection, "omniroute_memory", "Default collection"); + assert.equal(result.data.quantization, "none", "Default quantization should be none"); assert.equal(result.data.hasApiKey, false, "Default hasApiKey should be false"); assert.equal(result.data.apiKeyMasked, null, "Default apiKeyMasked should be null"); }