fix(pinecone): return [[]] from list() error path instead of dict (#5706)
This commit is contained in:
@@ -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:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user