Skip to content

Commit f77a084

Browse files
authored
silence faiss info logs (#2557)
1 parent 33abf77 commit f77a084

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

mem0/vector_stores/faiss.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
from pydantic import BaseModel
1010

1111
try:
12+
logging.getLogger("faiss").setLevel(logging.WARNING)
13+
logging.getLogger("faiss.loader").setLevel(logging.WARNING)
14+
1215
import faiss
1316
except ImportError:
1417
raise ImportError(

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mem0ai"
3-
version = "0.1.90"
3+
version = "0.1.91"
44
description = "Long-term memory for AI Agents"
55
authors = ["Mem0 <[email protected]>"]
66
exclude = [

0 commit comments

Comments
 (0)