From 22f796faac0bf04439d6948e26498fe170d7c5e9 Mon Sep 17 00:00:00 2001 From: ATRI Date: Thu, 9 Jul 2026 09:15:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20debug:=20=E8=BE=93=E5=87=BAAI?= =?UTF-8?q?=E5=88=86=E6=9E=90=E5=BC=82=E5=B8=B8=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI My Dear Moments/skills/atri_cf_query_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ATRI My Dear Moments/skills/atri_cf_query_plugin.py b/ATRI My Dear Moments/skills/atri_cf_query_plugin.py index 78c0ecf..ead8872 100644 --- a/ATRI My Dear Moments/skills/atri_cf_query_plugin.py +++ b/ATRI My Dear Moments/skills/atri_cf_query_plugin.py @@ -426,8 +426,8 @@ class CFQueryPlugin(Star): if llm_resp and llm_resp.completion_text: yield event.plain_result(llm_resp.completion_text) except Exception as e: - # AI分析失败不影响主流程 - pass + # AI分析失败时打印错误但不影响主流程 + yield event.plain_result(f"⚠️ AI分析异常: {type(e).__name__}: {e}") return # 没有图表时才发文本报告