-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update PineconeIndex to use aiohttp for async requests and …
…improve error handling - Replaced async_client with aiohttp.ClientSession for making asynchronous HTTP requests. - Added headers for API requests to enhance security and compatibility. - Simplified error handling by removing checks for async_client initialization. - Improved code readability and maintainability by consolidating request logic.
- Loading branch information
1 parent
fbf5a64
commit c8e7a62
Showing
1 changed file
with
81 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters