fix(vector): skip upsert when vector client is unavailable

This commit is contained in:
2026-05-30 21:04:22 +08:00
parent 23a1b7093e
commit 4b638b756e

View File

@@ -22,7 +22,7 @@ public class ImpressionVectorIndex {
}
public void upsert(String text, Entity.IndexableData indexableData){
if (VectorClient.status){
if (!VectorClient.status){
return;
}
String modelId = VectorClient.VECTOR_MODEL_ID;