JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.
Python
fix:memory/manager.py 中 6 处裸 except: 吞掉 CancelledError/KeyboardInterrupt,导致进程无法正常关闭
chunbs_cbs49020f9ea423
diff --git a/jiuwenswarm/agents/harness/common/memory/manager.py b/jiuwenswarm/agents/harness/common/memory/manager.pyindex 6d4e3ee35a..84815b02fb 100644--- a/jiuwenswarm/agents/harness/common/memory/manager.py+++ b/jiuwenswarm/agents/harness/common/memory/manager.py@@ -1175,7 +1175,8 @@ class MemoryIndexManager:try:cursor = self.db.execute(f"SELECT COUNT(*) as count FROM {EMBEDDING_CACHE_TABLE}")return cursor.fetchone()["count"]- except:+ except Exception as e:+ logger.warning(f"Failed to get cache entry count: {e}")return 0async def close(self) -> None: