mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-05 09:58:45 +00:00
supress warnings, test connectivity on start
This commit is contained in:
1 parent
1f7e3b5a28
commit
cc3f02e163
3 files changed
+21
-2
No files matched your search
@@ -33,4 +33,7 @@ sys.modules["numpy.distutils.cpuinfo"] = cpuinfo
|
||||
np.distutils = dist # type: ignore
|
||||
# -------------------------------------------------------------------
|
||||
|
||||
import faiss
|
||||
import warnings
|
||||
with warnings.catch_warnings():
|
||||
warnings.simplefilter("ignore", DeprecationWarning)
|
||||
import faiss
|
||||
Reference in new issue
Block a user