Skip to content
Snippets Groups Projects
Commit f8f11c24 authored by James Briggs's avatar James Briggs
Browse files

fix: pinecone init logic

parent b3f2f492
No related branches found
No related tags found
No related merge requests found
......@@ -242,7 +242,7 @@ class PineconeIndex(BaseIndex):
if self.index is not None and self.host == "":
index = self.index
self.host = self.client.describe_index(self.index_name)["host"]
return index
return index
async def _init_async_index(self, force_create: bool = False):
index_stats = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment