Skip to content
Snippets Groups Projects
Commit c8e7a620 authored by Luca Mannini's avatar Luca Mannini
Browse files

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.
parent fbf5a64b
No related branches found
No related tags found
No related merge requests found
Loading
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