Skip to content
Snippets Groups Projects
Commit eae6433c authored by theanupllm's avatar theanupllm
Browse files

fix: Add Pinecone API version header for cloud environments

- Set X-Pinecone-API-Version header for cloud API endpoints
- Ensure compatibility with Pinecone's latest API versioning
parent 8aecf7a0
Branches anup/pinecone-local
No related tags found
No related merge requests found
......@@ -158,7 +158,6 @@ class PineconeIndex(BaseIndex):
else:
self.base_url = base_url
if self.base_url and "api.pinecone.io" in self.base_url:
self.headers["X-Pinecone-API-Version"] = "2024-07"
......
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