Skip to content

Commit 8e7c174

Browse files
committed
fix: Manual fix for src/lib/qdrant.ts
1 parent 0feb4c2 commit 8e7c174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/qdrant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export async function initializeQdrant(): Promise<QdrantClient> {
5050
})) as unknown as QdrantClient['getCollection'],
5151
// Add other methods if server startup or critical paths strictly depend on them.
5252
// For example, if upsert or search are called immediately and unconditionally:
53-
upsert: ((collectionName: string, params: { wait?: boolean, points: Schemas['PointStruct'][] }) => {
53+
upsert: ((collectionName: string, params: { wait?: boolean, points: any[] }) => {
5454
logger.info(`[MOCK_QDRANT_UPSERT] Called for collection: ${collectionName}, points: ${params.points.length}`);
5555
return Promise.resolve({ status: 'ok', result: { operation_id: 0, status: 'completed' }});
5656
}) as unknown as QdrantClient['upsert'],

0 commit comments

Comments
 (0)