mirror of
https://github.com/open-webui/open-webui
synced 2025-06-16 19:31:52 +00:00
• 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() |
||
---|---|---|
.. | ||
loaders | ||
models | ||
vector | ||
web | ||
utils.py |