mirror of https://github.com/hwchase17/langchain
langchain: fix pinecone upsert when async_req is set to False (#19793)
Issue: When async_req is the default value True, pinecone client return the multiprocessing AsyncResult object. When async_req is set to False, pinecone client return the result directly. `[{'upserted_count': 1}]` . Calling get() method will throw an error in this case.pull/20177/head
parent
5f563e040a
commit
1ee208541c
Loading…
Reference in New Issue