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
..
data
internal
migrations
models fix: oauth 2025-05-05 19:38:36 +04:00
retrieval Update pinecone.py 2025-05-10 06:07:27 -07:00
routers refac: audio transcription issue 2025-05-08 22:57:48 +04:00
socket
static
storage Update provider.py 2025-05-07 14:48:49 +02:00
test
utils skip checks in title gen 2025-05-08 06:55:43 +00:00
__init__.py
alembic.ini
config.py Merge pull request #13604 from Acters/dev 2025-05-08 22:14:29 +04:00
constants.py
env.py
functions.py
main.py refac 2025-05-08 20:47:41 +04:00
tasks.py