Files
open-webui/backend/open_webui
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-03 18:16:32 +04:00
2025-05-05 19:38:36 +04:00
2025-05-10 06:07:27 -07:00
2025-05-08 22:57:48 +04:00
2025-05-03 23:48:24 +04:00
2025-03-07 00:19:26 +00:00
2025-05-07 14:48:49 +02:00
2025-05-08 06:55:43 +00:00
2025-04-15 09:55:35 +02:00
2024-09-04 17:33:39 +02:00
2025-04-24 01:55:18 +09:00
2025-03-26 01:17:10 -07:00
2025-05-08 20:47:41 +04:00
2025-04-12 20:51:02 -07:00