Files
open-webui/backend
PVBLIC Foundation 3f58a17e47 Update pinecone.py
•	Removed the unused Pinecone REST‐client import; we now only import ServerlessSpec and the gRPC client.
	•	Enhanced close()
	•	Call self.client.close() to explicitly shut down the underlying gRPC channel.
	•	Log success or a warning on failure.
	•	Still tear down the thread‐pool executor afterward.
	•	Context‐manager support
	•	Added __enter__()/__exit__() so you can do:

with PineconeClient() as client:
    client.insert(...)
# automatically calls client.close()
2025-05-10 06:07:27 -07:00
..
2025-05-10 06:07:27 -07:00
2024-02-24 22:35:11 -08:00
2024-09-06 04:59:20 +02:00
2025-05-04 00:15:46 +04:00
2025-04-12 16:33:36 -07:00