From 35ce61d1b3040c24109082641f809ee75cb2f730 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Thu, 3 Sep 2026 09:39:31 -0700 Subject: [PATCH] =?UTF-8?q?review-fix(suppress-audit):=20dashboard=5Fprocs?= =?UTF-8?q?=20ancestor=20walk,=20mem0=20post=5Fsetup=20=E2=80=94=20restore?= =?UTF-8?q?=20BASE=20exception=20semantics?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/memory/mem0/_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/memory/mem0/_setup.py b/plugins/memory/mem0/_setup.py index e2dcfce907..390bf35473 100644 --- a/plugins/memory/mem0/_setup.py +++ b/plugins/memory/mem0/_setup.py @@ -497,7 +497,7 @@ _MODE_PICKER = (_setup_platform, _setup_selfhosted, _setup_oss) def post_setup(hermes_home: str, config: dict) -> None: """Entry point for `hermes memory setup`: routes on --mode (platform / selfhosted / oss), else shows a picker. OSS is non-interactive only when the mode came from the flag.""" - with suppress(Exception): # mem0ai must meet the minimum version from plugin.yaml + with suppress(ImportError): # mem0ai must meet the minimum version from plugin.yaml import mem0 installed_ver = getattr(mem0, "__version__", None) if installed_ver and tuple(int(x) for x in installed_ver.split(".")[:3]) < (2, 0, 7):