We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0feb4c2 commit 8e7c174Copy full SHA for 8e7c174
1 file changed
src/lib/qdrant.ts
@@ -50,7 +50,7 @@ export async function initializeQdrant(): Promise<QdrantClient> {
50
})) as unknown as QdrantClient['getCollection'],
51
// Add other methods if server startup or critical paths strictly depend on them.
52
// For example, if upsert or search are called immediately and unconditionally:
53
- upsert: ((collectionName: string, params: { wait?: boolean, points: Schemas['PointStruct'][] }) => {
+ upsert: ((collectionName: string, params: { wait?: boolean, points: any[] }) => {
54
logger.info(`[MOCK_QDRANT_UPSERT] Called for collection: ${collectionName}, points: ${params.points.length}`);
55
return Promise.resolve({ status: 'ok', result: { operation_id: 0, status: 'completed' }});
56
}) as unknown as QdrantClient['upsert'],
0 commit comments