mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-03 05:45:04 +03:00
chore: remove unused qdrant schema aliases (#5404)
Integrated into release/v3.8.42
This commit is contained in:
@@ -37,8 +37,3 @@ export const QdrantHealthResultSchema = z.object({
|
||||
latencyMs: z.number(),
|
||||
error: z.string().optional(),
|
||||
});
|
||||
|
||||
export type QdrantSettings = z.infer<typeof QdrantSettingsSchema>;
|
||||
export type QdrantSettingsUpdate = z.infer<typeof QdrantSettingsUpdateSchema>;
|
||||
export type QdrantSearch = z.infer<typeof QdrantSearchSchema>;
|
||||
export type QdrantHealthResult = z.infer<typeof QdrantHealthResultSchema>;
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user