From c0c08b0b848ceb984a35ce21a04b89abdfd0cf55 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 8 Apr 2026 07:12:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20query=5Fsubscribe=5Fhistor?= =?UTF-8?q?y.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/agent/tools/impl/query_subscribe_history.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/agent/tools/impl/query_subscribe_history.py b/app/agent/tools/impl/query_subscribe_history.py index 92100a33..9dff47c7 100644 --- a/app/agent/tools/impl/query_subscribe_history.py +++ b/app/agent/tools/impl/query_subscribe_history.py @@ -107,8 +107,8 @@ class QuerySubscribeHistoryTool(MoviePilotTool): result_json = json.dumps(simplified_records, ensure_ascii=False, indent=2) # 如果结果被裁剪,添加提示信息 - if total_count > 30: - return f"注意:查询结果共找到 {total_count} 条,为节省上下文空间,仅显示前 30 条结果。\n\n{result_json}" + if total_count > 100: + return f"注意:查询结果共找到 {total_count} 条,为节省上下文空间,仅显示前 100 条结果。\n\n{result_json}" return result_json except Exception as e: