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
..
data
open_webui Update pinecone.py 2025-05-10 06:07:27 -07:00
.dockerignore
.gitignore
dev.sh
requirements.txt chore: bump 2025-05-04 00:15:46 +04:00
start_windows.bat refac: web/rag config 2025-04-12 16:33:36 -07:00
start.sh Fix: Use dynamic Python command to run uvicorn and support pyenv setups. 2025-04-29 09:14:23 +01:00