Skip to content

Commit

Permalink
partners: update version header for Pinecone integration (#28481)
Browse files Browse the repository at this point in the history
Just need to update the version header used with Pinecone in
recently-merged method (from [this
PR](https://github.com/langchain-ai/langchain/pull/28320/files#r1867820929)).

Co-authored-by: Erick Friis <[email protected]>
  • Loading branch information
aulorbe and efriis authored Dec 3, 2024
1 parent 7315360 commit 926e452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/partners/pinecone/langchain_pinecone/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def async_client(self) -> aiohttp.ClientSession:
headers={
"Api-Key": self.pinecone_api_key.get_secret_value(),
"Content-Type": "application/json",
"X-Pinecone-API-Version": "2024-07",
"X-Pinecone-API-Version": "2024-10",
}
)
return self._async_client
Expand Down

0 comments on commit 926e452

Please sign in to comment.