Dateien nach "app/core" hochladen
All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 3s

This commit is contained in:
Lars 2025-11-08 16:40:35 +01:00
parent 197242ca42
commit 21924541dc

View File

@ -136,7 +136,7 @@ def _coerce_for_collection(client: QdrantClient, collection_name: str, points: L
if isinstance(vec, dict):
fixed.append(pt) # already named
elif vec is not None:
fixed.append(rest.PointStruct(id=pt.id, vector={primary: vec}, payload=pt.payload))
fixed.append(rest.PointStruct(id=pt.id, vectors={primary: vec}, payload=pt.payload))
else:
fixed.append(pt) # edges with no vector (shouldn't happen) or already correct
return fixed