From d2a67a53b592d5c6430605f6aa3aa12a5aff8b65 Mon Sep 17 00:00:00 2001 From: lixinyue <2569494688@qq.com> Date: Wed, 28 Jan 2026 10:58:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=B1=82memory=5Fcontent->me?= =?UTF-8?q?mory=5Fconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/services/draft_run_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/app/services/draft_run_service.py b/api/app/services/draft_run_service.py index 0d1f51a4..88a2f26a 100644 --- a/api/app/services/draft_run_service.py +++ b/api/app/services/draft_run_service.py @@ -86,6 +86,7 @@ def create_long_term_memory_tool(memory_config: Dict[str, Any], end_user_id: str 检索到的历史记忆内容 """ logger.info(f" 长期记忆工具被调用!question={question}, user={end_user_id}") + try: from app.db import get_db db = next(get_db())