fix(pinecone): return [[]] from list() error path instead of dict (#5706)

This commit is contained in:
Hrushikesh Yadav
2026-06-22 11:57:52 +05:30
committed by GitHub
parent 299c423213
commit bd5996f41e
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -391,7 +391,7 @@ class PineconeDB(VectorStoreBase):
return [results]
except Exception as e:
logger.error(f"Error listing vectors: {e}")
return {"points": [], "next_page_token": None}
return [[]]
def count(self) -> int:
"""