This commit is contained in:
Pancake
2025-12-29 15:57:05 +08:00
parent ba63fcad37
commit c1966b327d

View File

@@ -174,7 +174,7 @@ async def test_embeddings_connection():
response_time = (time.time() - start_time) * 1000
if embeddings and len(embeddings) > 0 and len(embeddings[0]) > 0:
if embeddings is not None and len(embeddings) > 0 and len(embeddings[0]) > 0:
return TestResponse(
success=True,
message="Embeddings connection successful",