mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-29 20:20:42 +00:00
supress warnings, test connectivity on start
This commit is contained in:
parent
1f7e3b5a28
commit
cc3f02e163
3 changed files with 21 additions and 2 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue